#394D0B#394D0B

#394D0B is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.0% C 0.091 H 125.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#394D0B
RGBrgb(57, 77, 11)
HSLhsl(78, 75%, 17%)
HSVhsv(78, 86%, 30%)
CMYKcmyk(26%, 0%, 85.7%, 69.8%)
CIE-LABlab(29.92, -18.36, 33.67)
CIE-LCHlch(29.92, 38.35, 118.60°)
OKLaboklab(38.96% -0.0533 0.0741)
OKLCHoklch(38.96% 0.091 125.7)
XYZxyz(4.4017, 6.2017, 1.2817)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D0B #1F0B4D
analogous
#4D400B #394D0B #184D0B
triadic
#394D0B #0B394D #4D0B39
tetradic
#394D0B #0B4D40 #1F0B4D #4D0B18
square
#394D0B #0B4D40 #1F0B4D #4D0B18
split-complementary
#394D0B #0B184D #400B4D
monochromatic
#141B04 #141B04 #394D0B #618313 #88B81A

Accessibility & contrast

On white

9.37
#394D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#394D0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D0B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D0B#FFFFFF#000000##FFFFFF
##394D0B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4F4612
Tritanopia (blue-blind)
#3C4941
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #394d0b;
/* rgb */ color: rgb(57, 77, 11);
/* oklch */ color: oklch(39.0% 0.091 125.7);
Tailwind
colors: {
  custom: {
    50: '#727f50',
    500: '#394d0b',
    950: '#000000',
  },
}
SCSS
$custom: #394d0b;
$custom-light: #727f50;
$custom-dark: #000000;
JSON
{
  "hex": "#394d0b",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 11
  },
  "hsl": {
    "h": 78.182,
    "s": 75,
    "l": 17.255
  },
  "oklch": {
    "l": 0.38961,
    "c": 0.09131,
    "h": 125.7
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#394D0B
secondary
#472B89
accent
#36F26F
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #394D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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