#394E12#394E12

#394E12 is a dark, moderate yellow-green. Relative luminance 0.064; OKLCH L 39.3% C 0.088 H 126.9°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#394E12
RGBrgb(57, 78, 18)
HSLhsl(81, 63%, 19%)
HSVhsv(81, 77%, 31%)
CMYKcmyk(26.9%, 0%, 76.9%, 69.4%)
CIE-LABlab(30.31, -18.44, 31.25)
CIE-LCHlch(30.31, 36.28, 120.55°)
OKLaboklab(39.3% -0.0529 0.0703)
OKLCHoklch(39.3% 0.088 126.9)
XYZxyz(4.5209, 6.3622, 1.5620)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E12 #27124E
analogous
#4E4512 #394E12 #1B4E12
triadic
#394E12 #12394E #4E1239
tetradic
#394E12 #124E45 #27124E #4E121B
square
#394E12 #124E45 #27124E #4E121B
split-complementary
#394E12 #121B4E #45124E
monochromatic
#121906 #151C07 #394E12 #5D801D #82B129

Accessibility & contrast

On white

9.24
#394E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#394E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394E12
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394E12#FFFFFF#000000##FFFFFF
##394E121.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524808
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#3B4A42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394e12;
/* rgb */ color: rgb(57, 78, 18);
/* oklch */ color: oklch(39.3% 0.088 126.9);
Tailwind
colors: {
  custom: {
    50: '#727f54',
    500: '#394e12',
    950: '#000000',
  },
}
SCSS
$custom: #394e12;
$custom-light: #727f54;
$custom-dark: #000000;
JSON
{
  "hex": "#394e12",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 81,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39295,
    "c": 0.08799,
    "h": 126.9
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#394E12
secondary
#523587
accent
#42E67B
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #394E12

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

Preview Lab → · Contrast checker → · Palette generator →

#394E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva