#394816#394816

#394816 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.076 H 124.2°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#394816
RGBrgb(57, 72, 22)
HSLhsl(78, 53%, 18%)
HSVhsv(78, 69%, 28%)
CMYKcmyk(20.8%, 0%, 69.4%, 71.8%)
CIE-LABlab(28.28, -14.81, 27.22)
CIE-LCHlch(28.28, 30.98, 118.55°)
OKLaboklab(37.67% -0.0424 0.0625)
OKLCHoklch(37.67% 0.076 124.2)
XYZxyz(4.1496, 5.5625, 1.6140)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394816 #251648
analogous
#483E16 #394816 #204816
triadic
#394816 #163948 #481639
tetradic
#394816 #16483E #251648 #481620
square
#394816 #16483E #251648 #481620
split-complementary
#394816 #162048 #3E1648
monochromatic
#131707 #141908 #394816 #5E7724 #83A633

Accessibility & contrast

On white

9.94
#394816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#394816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394816
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394816#FFFFFF#000000##FFFFFF
##3948161.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4310
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#3C443E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #394816;
/* rgb */ color: rgb(57, 72, 22);
/* oklch */ color: oklch(37.7% 0.076 124.2);
Tailwind
colors: {
  custom: {
    50: '#717b56',
    500: '#394816',
    950: '#000000',
  },
}
SCSS
$custom: #394816;
$custom-light: #717b56;
$custom-dark: #000000;
JSON
{
  "hex": "#394816",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 22
  },
  "hsl": {
    "h": 78,
    "s": 53.191,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37666,
    "c": 0.07554,
    "h": 124.2
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#394816
secondary
#4F3A7F
accent
#4BDD77
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394816

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

Preview Lab → · Contrast checker → · Palette generator →

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