#394712#394712

#394712 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.3% C 0.078 H 123.0°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#394712
RGBrgb(57, 71, 18)
HSLhsl(76, 60%, 17%)
HSVhsv(76, 75%, 28%)
CMYKcmyk(19.7%, 0%, 74.6%, 72.2%)
CIE-LABlab(27.90, -14.58, 28.78)
CIE-LCHlch(27.90, 32.26, 116.88°)
OKLaboklab(37.35% -0.0422 0.0652)
OKLCHoklch(37.35% 0.078 123)
XYZxyz(4.0498, 5.4200, 1.4050)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394712 #201247
analogous
#473B12 #394712 #1E4712
triadic
#394712 #123947 #471239
tetradic
#394712 #12473B #201247 #47121E
square
#394712 #12473B #201247 #47121E
split-complementary
#394712 #121E47 #3B1247
monochromatic
#141806 #141806 #394712 #60781E #87A92B

Accessibility & contrast

On white

10.08
#394712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#394712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394712
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394712#FFFFFF#000000##FFFFFF
##3947121.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C420A
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#3C433C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #394712;
/* rgb */ color: rgb(57, 71, 18);
/* oklch */ color: oklch(37.3% 0.078 123.0);
Tailwind
colors: {
  custom: {
    50: '#717a53',
    500: '#394712',
    950: '#000000',
  },
}
SCSS
$custom: #394712;
$custom-light: #717a53;
$custom-dark: #000000;
JSON
{
  "hex": "#394712",
  "rgb": {
    "r": 57,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 75.849,
    "s": 59.551,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.07766,
    "h": 123
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#394712
secondary
#493580
accent
#45E36F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #394712

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

Preview Lab → · Contrast checker → · Palette generator →

#394712 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva