Skip to content

#373c08

a deep, electric yellow · warm · closest name: Dark Olive Green

RGB
55, 60, 8
HSL
66°, 77%, 13%
CMYK
8, 0, 87, 77
Luminance
0.0406

At a glance

Every number on this page in one read: what #373c08 is made of, how bright it looks, and which way it leans.

Hex
#373c08
Hue
66°
yellow
Saturation
77%
electric
Lightness
13%
deep
Brightness
24%
HSV value
Perceived
22%
weighted brightness
Luminance
0.0406
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Electric
Best ink
White
11.59:1
Closest name
Dark Olive Green
ΔE2000 15.7
Where it sits
Hue66° of 360°
Saturation77%
Lightness13%
Temperature
Warm ← → Cool30% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#373c08
RGBrgb(55, 60, 8)
HSLhsl(66, 77%, 13%)
CMYKcmyk(8%, 0%, 87%, 77%)
LABlab(23.9 -9.8 29.1)
LCHlch(23.9 30.7 108.7)
OKLCHoklch(0.340 0.071 115.1)
Decimal3619848
Display P3color(display-p3 0.216 0.235 0.031)

Copy-ready code

/* CSS */
color: #373c08;
background-color: #373c08;
/* Tailwind (arbitrary) */
class="text-[#373c08] bg-[#373c08]"
/* SCSS */
$brand: #373c08;
/* SwiftUI */
Color(red: 0.216, green: 0.235, blue: 0.031)
/* Android */
Color.parseColor("#373c08")
/* Flutter */
Color(0xFF373C08)
/* Python / OpenCV (BGR) */
(8, 60, 55)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #373c08 · 11.59:1
Use #ffffffAAA at every size.
Aa
White text · 11.59:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.81:1
AA fail · AA large fail · AAA fail
Reading the other direction: #373c08 as text scores 11.59:1 on white and 1.81:1 on black.

Accessibility — WCAG contrast

Aa
#373c08 on white: 11.59:1
AA ✓ pass · AA-large · AAA
Aa
#373c08 on black: 1.81:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #413801
deuteranopia · #41390C
tritanopia · #3B3832

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #373c08 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FBFCF3
#F7F9E7
#F0F4C8
#EAF29C
#DFEB6A
#D4E539
#C6D81D
#A5B418
#849013
#606812
#373c08
Base = 950Lightest = 50 · #FBFCF3Darkest = 950 · #373c08
:root {
  --brand-50: #FBFCF3;
  --brand-100: #F7F9E7;
  --brand-200: #F0F4C8;
  --brand-300: #EAF29C;
  --brand-400: #DFEB6A;
  --brand-500: #D4E539;
  --brand-600: #C6D81D;
  --brand-700: #A5B418;
  --brand-800: #849013;
  --brand-900: #606812;
  --brand-950: #373c08;
  --brand: #373c08;
  --brand-ink: #ffffff;
}

Colors that work with #373c08

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#FAFAF4
Tinted page background
Border#E8EDC0
Hairlines and dividers
Muted text#939B4B
Captions on the surface
Accent#070F3D
Second voice, not a rival
Dark variant#67710F
Hover, pressed, headers
Light variant#FAFCE8
Selected rows, tints
Dark surface#232414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #373c08

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#0D083C
Analogous left#3C2708
Analogous right#1D3C08
Split-complement 1#081D3C
Split-complement 2#27083C
Triadic 1#08373C
Triadic 2#3C0837
Tetradic#083C27

RGB percentages

Red21.6%
Green23.5%
Blue3.1%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow86.7%
Key (black)76.5%

Color previews

#373c08 text on a black background

contrast 1.81:1

Card sample

#373c08 text on a white background

contrast 11.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #373c08;
Background color
Panel with #373c08 background
background-color: #373c08;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #373c08;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(55, 60, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(55, 60, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #373c08;
background: linear-gradient(135deg, #373c08, #143C08);

Monochromatic scale

Palettes built from #373c08

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#373c08 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#373c08, answered

What color is #373c08?

#373c08 is a deep electric yellow, closest to Dark Olive Green (ΔE2000 15.7). It sits at 66° on the hue wheel with 77% saturation and 13% lightness, which reads as warm.

What is the RGB value of #373c08?

rgb(55, 60, 8) — 55 red, 60 green and 8 blue out of 255, or 21.6% / 23.5% / 3.1% by channel.

Is #373c08 a light or a dark color?

It is a dark color. Relative luminance is 0.0406 and perceived brightness is 22%, so white text on it reaches 11.59:1.

Should I use black or white text on #373c08?

White. It scores 11.59:1 against #373c08, versus 1.81:1 for black — AAA at any size.

What is the complementary color of #373c08?

#0D083C sits directly opposite on the wheel. Softer options are the split-complements #081D3C and #27083C, which give the same contrast with far less vibration.

What colors go well with #373c08?

For interface work: #FAFAF4 as the surface, #E8EDC0 for borders, #939B4B for secondary text, #070F3D as an accent and #67710F for hover and pressed states. For a palette, the analogous pair #3C2708 and #1D3C08 stays calm, while #0D083C is the loudest partner.

What is #373c08 in CMYK for printing?

cmyk(8%, 0%, 87%, 77%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #373c08 warm or cool?

Warm — it scores 30 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #3C2E08; nudged cooler, #243D07.

Work with #373c08 in the Color Lab