#394E17#394E17

#394E17 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.3% C 0.084 H 127.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#394E17
RGBrgb(57, 78, 23)
HSLhsl(83, 54%, 20%)
HSVhsv(83, 71%, 31%)
CMYKcmyk(26.9%, 0%, 70.5%, 69.4%)
CIE-LABlab(30.35, -18.03, 28.96)
CIE-LCHlch(30.35, 34.11, 121.91°)
OKLaboklab(39.34% -0.0512 0.0663)
OKLCHoklch(39.34% 0.084 127.7)
XYZxyz(4.5664, 6.3804, 1.8014)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E17 #2C174E
analogous
#4E4817 #394E17 #1E4E17
triadic
#394E17 #17394E #4E1739
tetradic
#394E17 #174E48 #2C174E #4E171E
square
#394E17 #174E48 #2C174E #4E171E
split-complementary
#394E17 #171E4E #48174E
monochromatic
#111807 #161F09 #394E17 #5C7D25 #7EAD33

Accessibility & contrast

On white

9.23
#394E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#394E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394E17
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394E17#FFFFFF#000000##FFFFFF
##394E171.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524810
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#3B4A43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394e17;
/* rgb */ color: rgb(57, 78, 23);
/* oklch */ color: oklch(39.3% 0.084 127.7);
Tailwind
colors: {
  custom: {
    50: '#717f57',
    500: '#394e17',
    950: '#000000',
  },
}
SCSS
$custom: #394e17;
$custom-light: #717f57;
$custom-dark: #000000;
JSON
{
  "hex": "#394e17",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 82.909,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39344,
    "c": 0.08381,
    "h": 127.7
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#394E17
secondary
#583C85
accent
#4ADE82
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #394E17

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

Preview Lab → · Contrast checker → · Palette generator →

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