#394F18#394F18

#394F18 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.6% C 0.084 H 128.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#394F18
RGBrgb(57, 79, 24)
HSLhsl(84, 53%, 20%)
HSVhsv(84, 70%, 31%)
CMYKcmyk(27.8%, 0%, 69.6%, 69%)
CIE-LABlab(30.71, -18.48, 28.84)
CIE-LCHlch(30.71, 34.25, 122.64°)
OKLaboklab(39.63% -0.0523 0.0663)
OKLCHoklch(39.63% 0.084 128.3)
XYZxyz(4.6482, 6.5277, 1.8790)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394F18 #2E184F
analogous
#4F4918 #394F18 #1D4F18
triadic
#394F18 #18394F #4F1839
tetradic
#394F18 #184F49 #2E184F #4F181D
square
#394F18 #184F49 #2E184F #4F181D
split-complementary
#394F18 #181D4F #49184F
monochromatic
#111707 #17200A #394F18 #5B7E26 #7DAD35

Accessibility & contrast

On white

9.11
#394F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#394F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394F18
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394F18#FFFFFF#000000##FFFFFF
##394F181.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534911
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#3B4B44
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394f18;
/* rgb */ color: rgb(57, 79, 24);
/* oklch */ color: oklch(39.6% 0.084 128.3);
Tailwind
colors: {
  custom: {
    50: '#718058',
    500: '#394f18',
    950: '#000000',
  },
}
SCSS
$custom: #394f18;
$custom-light: #718058;
$custom-dark: #000000;
JSON
{
  "hex": "#394f18",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 24
  },
  "hsl": {
    "h": 84,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.08444,
    "h": 128.3
  },
  "luminance": 0.06528
}

Semantic roles & 50–950 ramp

primary
#394F18
secondary
#5A3D86
accent
#4BDD85
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #394F18

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

Preview Lab → · Contrast checker → · Palette generator →

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