#394812#394812

#394812 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.6% C 0.079 H 123.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#394812
RGBrgb(57, 72, 18)
HSLhsl(77, 60%, 18%)
HSVhsv(77, 75%, 28%)
CMYKcmyk(20.8%, 0%, 75%, 71.8%)
CIE-LABlab(28.24, -15.15, 29.13)
CIE-LCHlch(28.24, 32.84, 117.47°)
OKLaboklab(37.62% -0.0438 0.0659)
OKLCHoklch(37.62% 0.079 123.6)
XYZxyz(4.1139, 5.5482, 1.4263)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394812 #211248
analogous
#483C12 #394812 #1E4812
triadic
#394812 #123948 #481239
tetradic
#394812 #12483C #211248 #48121E
square
#394812 #12483C #211248 #48121E
split-complementary
#394812 #121E48 #3C1248
monochromatic
#131806 #131806 #394812 #60791E #87AA2A

Accessibility & contrast

On white

9.95
#394812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394812
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394812#FFFFFF#000000##FFFFFF
##3948121.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C430A
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#3C443D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #394812;
/* rgb */ color: rgb(57, 72, 18);
/* oklch */ color: oklch(37.6% 0.079 123.6);
Tailwind
colors: {
  custom: {
    50: '#717b53',
    500: '#394812',
    950: '#000000',
  },
}
SCSS
$custom: #394812;
$custom-light: #717b53;
$custom-dark: #000000;
JSON
{
  "hex": "#394812",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 76.667,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37623,
    "c": 0.07914,
    "h": 123.6
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#394812
secondary
#4A3581
accent
#45E371
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394812

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

Preview Lab → · Contrast checker → · Palette generator →

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