#394B17#394B17

#394B17 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.5% C 0.079 H 126.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#394B17
RGBrgb(57, 75, 23)
HSLhsl(81, 53%, 19%)
HSVhsv(81, 69%, 29%)
CMYKcmyk(24%, 0%, 69.3%, 70.6%)
CIE-LABlab(29.32, -16.39, 27.84)
CIE-LCHlch(29.32, 32.31, 120.48°)
OKLaboklab(38.51% -0.0467 0.064)
OKLCHoklch(38.51% 0.079 126.1)
XYZxyz(4.3581, 5.9638, 1.7320)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394B17 #29174B
analogous
#4B4317 #394B17 #1F4B17
triadic
#394B17 #17394B #4B1739
tetradic
#394B17 #174B43 #29174B #4B171F
square
#394B17 #174B43 #29174B #4B171F
split-complementary
#394B17 #171F4B #43174B
monochromatic
#121707 #151C09 #394B17 #5D7A25 #80A934

Accessibility & contrast

On white

9.58
#394B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#394B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394B17
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394B17#FFFFFF#000000##FFFFFF
##394B171.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4611
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#3B4740
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #394b17;
/* rgb */ color: rgb(57, 75, 23);
/* oklch */ color: oklch(38.5% 0.079 126.1);
Tailwind
colors: {
  custom: {
    50: '#717d57',
    500: '#394b17',
    950: '#000000',
  },
}
SCSS
$custom: #394b17;
$custom-light: #717d57;
$custom-dark: #000000;
JSON
{
  "hex": "#394b17",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 23
  },
  "hsl": {
    "h": 80.769,
    "s": 53.061,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38509,
    "c": 0.0792,
    "h": 126.1
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#394B17
secondary
#543C82
accent
#4BDC7E
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394B17

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

Preview Lab → · Contrast checker → · Palette generator →

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