#394D17#394D17

#394D17 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.1% C 0.082 H 127.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#394D17
RGBrgb(57, 77, 23)
HSLhsl(82, 54%, 20%)
HSVhsv(82, 70%, 30%)
CMYKcmyk(26%, 0%, 70.1%, 69.8%)
CIE-LABlab(30.01, -17.49, 28.59)
CIE-LCHlch(30.01, 33.51, 121.45°)
OKLaboklab(39.07% -0.0497 0.0656)
OKLCHoklch(39.07% 0.082 127.2)
XYZxyz(4.4959, 6.2394, 1.7779)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D17 #2B174D
analogous
#4D4617 #394D17 #1E4D17
triadic
#394D17 #17394D #4D1739
tetradic
#394D17 #174D46 #2B174D #4D171E
square
#394D17 #174D46 #2B174D #4D171E
split-complementary
#394D17 #171E4D #46174D
monochromatic
#111807 #161E09 #394D17 #5C7C25 #7FAB33

Accessibility & contrast

On white

9.34
#394D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#394D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D17
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D17#FFFFFF#000000##FFFFFF
##394D171.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514710
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#3B4942
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394d17;
/* rgb */ color: rgb(57, 77, 23);
/* oklch */ color: oklch(39.1% 0.082 127.2);
Tailwind
colors: {
  custom: {
    50: '#717f57',
    500: '#394d17',
    950: '#000000',
  },
}
SCSS
$custom: #394d17;
$custom-light: #717f57;
$custom-dark: #000000;
JSON
{
  "hex": "#394d17",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 23
  },
  "hsl": {
    "h": 82.222,
    "s": 54,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39066,
    "c": 0.08228,
    "h": 127.2
  },
  "luminance": 0.06239
}

Semantic roles & 50–950 ramp

primary
#394D17
secondary
#573C84
accent
#4ADD81
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #394D17

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

Preview Lab → · Contrast checker → · Palette generator →

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