#394B18#394B18

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

Color values

HEX#394B18
RGBrgb(57, 75, 24)
HSLhsl(81, 52%, 19%)
HSVhsv(81, 68%, 29%)
CMYKcmyk(24%, 0%, 68%, 70.6%)
CIE-LABlab(29.33, -16.29, 27.34)
CIE-LCHlch(29.33, 31.83, 120.79°)
OKLaboklab(38.52% -0.0463 0.0631)
OKLCHoklch(38.52% 0.078 126.3)
XYZxyz(4.3683, 5.9679, 1.7858)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394B18 #2A184B
analogous
#4B4418 #394B18 #204B18
triadic
#394B18 #18394B #4B1839
tetradic
#394B18 #184B44 #2A184B #4B1820
square
#394B18 #184B44 #2A184B #4B1820
split-complementary
#394B18 #18204B #44184B
monochromatic
#121707 #161D09 #394B18 #5C7927 #7FA836

Accessibility & contrast

On white

9.57
#394B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394B18
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394B18#FFFFFF#000000##FFFFFF
##394B181.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394b18;
/* rgb */ color: rgb(57, 75, 24);
/* oklch */ color: oklch(38.5% 0.078 126.3);
Tailwind
colors: {
  custom: {
    50: '#717d57',
    500: '#394b18',
    950: '#000000',
  },
}
SCSS
$custom: #394b18;
$custom-light: #717d57;
$custom-dark: #000000;
JSON
{
  "hex": "#394b18",
  "rgb": {
    "r": 57,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 81.176,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38521,
    "c": 0.07825,
    "h": 126.3
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#394B18
secondary
#553D82
accent
#4DDB7F
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394B18

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

Preview Lab → · Contrast checker → · Palette generator →

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