#394820#394820

#394820 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.8% C 0.065 H 126.3°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#394820
RGBrgb(57, 72, 32)
HSLhsl(83, 38%, 20%)
HSVhsv(83, 56%, 28%)
CMYKcmyk(20.8%, 0%, 55.6%, 71.8%)
CIE-LABlab(28.40, -13.71, 21.89)
CIE-LCHlch(28.40, 25.83, 122.07°)
OKLaboklab(37.8% -0.0383 0.0522)
OKLCHoklch(37.8% 0.065 126.3)
XYZxyz(4.2654, 5.6088, 2.2241)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394820 #2F2048
analogous
#484320 #394820 #254820
triadic
#394820 #203948 #482039
tetradic
#394820 #204843 #2F2048 #482025
square
#394820 #204843 #2F2048 #482025
split-complementary
#394820 #202548 #432048
monochromatic
#111509 #171E0D #394820 #5B7233 #7C9D46

Accessibility & contrast

On white

9.90
#394820 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#394820 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394820
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394820#FFFFFF#000000##FFFFFF
##3948201.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441C
Deuteranopia (green-blind)
#494322
Tritanopia (blue-blind)
#3B453F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #394820;
/* rgb */ color: rgb(57, 72, 32);
/* oklch */ color: oklch(37.8% 0.065 126.3);
Tailwind
colors: {
  custom: {
    50: '#707b5c',
    500: '#394820',
    950: '#000000',
  },
}
SCSS
$custom: #394820;
$custom-light: #707b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#394820",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 32
  },
  "hsl": {
    "h": 82.5,
    "s": 38.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.37804,
    "c": 0.06477,
    "h": 126.3
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#394820
secondary
#5B487C
accent
#59CE85
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#070904
muted
#7A7B79

Preview Lab

Preview with #394820

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

Preview Lab → · Contrast checker → · Palette generator →

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