#394E0B#394E0B

#394E0B is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.2% C 0.093 H 126.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#394E0B
RGBrgb(57, 78, 11)
HSLhsl(79, 75%, 17%)
HSVhsv(79, 86%, 31%)
CMYKcmyk(26.9%, 0%, 85.9%, 69.4%)
CIE-LABlab(30.26, -18.89, 33.99)
CIE-LCHlch(30.26, 38.89, 119.07°)
OKLaboklab(39.24% -0.0547 0.0748)
OKLCHoklch(39.24% 0.093 126.2)
XYZxyz(4.4722, 6.3427, 1.3052)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E0B #200B4E
analogous
#4E420B #394E0B #174E0B
triadic
#394E0B #0B394E #4E0B39
tetradic
#394E0B #0B4E42 #200B4E #4E0B17
square
#394E0B #0B4E42 #200B4E #4E0B17
split-complementary
#394E0B #0B174E #420B4E
monochromatic
#141B04 #141B04 #394E0B #608413 #87B91A

Accessibility & contrast

On white

9.26
#394E0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#394E0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394E0B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394E0B#FFFFFF#000000##FFFFFF
##394E0B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#504712
Tritanopia (blue-blind)
#3C4A42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394e0b;
/* rgb */ color: rgb(57, 78, 11);
/* oklch */ color: oklch(39.2% 0.093 126.2);
Tailwind
colors: {
  custom: {
    50: '#727f51',
    500: '#394e0b',
    950: '#000000',
  },
}
SCSS
$custom: #394e0b;
$custom-light: #727f51;
$custom-dark: #000000;
JSON
{
  "hex": "#394e0b",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 11
  },
  "hsl": {
    "h": 78.806,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.39241,
    "c": 0.0927,
    "h": 126.2
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#394E0B
secondary
#492B8A
accent
#36F271
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #394E0B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#394E0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva