#394212#394212

#394212 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 36.0% C 0.070 H 119.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#394212
RGBrgb(57, 66, 18)
HSLhsl(71, 57%, 16%)
HSVhsv(71, 73%, 26%)
CMYKcmyk(13.6%, 0%, 72.7%, 74.1%)
CIE-LABlab(26.19, -11.70, 26.99)
CIE-LCHlch(26.19, 29.41, 113.44°)
OKLaboklab(35.97% -0.0342 0.0614)
OKLCHoklch(35.97% 0.07 119.2)
XYZxyz(3.7448, 4.8100, 1.3033)
Luminance0.0481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394212 #1B1242
analogous
#423312 #394212 #214212
triadic
#394212 #123942 #421239
tetradic
#394212 #124233 #1B1242 #421221
square
#394212 #124233 #1B1242 #421221
split-complementary
#394212 #122142 #331242
monochromatic
#151807 #151807 #394212 #63721F #8CA22C

Accessibility & contrast

On white

10.70
#394212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#394212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394212
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394212#FFFFFF#000000##FFFFFF
##3942121.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0C
Deuteranopia (green-blind)
#463E15
Tritanopia (blue-blind)
#3D3E38
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #394212;
/* rgb */ color: rgb(57, 66, 18);
/* oklch */ color: oklch(36.0% 0.070 119.2);
Tailwind
colors: {
  custom: {
    50: '#717653',
    500: '#394212',
    950: '#000000',
  },
}
SCSS
$custom: #394212;
$custom-light: #717653;
$custom-dark: #000000;
JSON
{
  "hex": "#394212",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 71.25,
    "s": 57.143,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35966,
    "c": 0.07029,
    "h": 119.2
  },
  "luminance": 0.0481
}

Semantic roles & 50–950 ramp

primary
#394212
secondary
#42357B
accent
#47E064
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080802
muted
#7B7B78

Preview Lab

Preview with #394212

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

Preview Lab → · Contrast checker → · Palette generator →

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