#394E0C#394E0C

#394E0C is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.2% C 0.092 H 126.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#394E0C
RGBrgb(57, 78, 12)
HSLhsl(79, 73%, 18%)
HSVhsv(79, 85%, 31%)
CMYKcmyk(26.9%, 0%, 84.6%, 69.4%)
CIE-LABlab(30.27, -18.84, 33.63)
CIE-LCHlch(30.27, 38.55, 119.25°)
OKLaboklab(39.25% -0.0545 0.0743)
OKLCHoklch(39.25% 0.092 126.3)
XYZxyz(4.4781, 6.3451, 1.3366)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394E0C #210C4E
analogous
#4E420C #394E0C #184E0C
triadic
#394E0C #0C394E #4E0C39
tetradic
#394E0C #0C4E42 #210C4E #4E0C18
square
#394E0C #0C4E42 #210C4E #4E0C18
split-complementary
#394E0C #0C184E #420C4E
monochromatic
#131B04 #131B04 #394E0C #608314 #87B81C

Accessibility & contrast

On white

9.26
#394E0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394E0C
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394E0C#FFFFFF#000000##FFFFFF
##394E0C1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#504713
Tritanopia (blue-blind)
#3C4A42
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394e0c;
/* rgb */ color: rgb(57, 78, 12);
/* oklch */ color: oklch(39.2% 0.092 126.3);
Tailwind
colors: {
  custom: {
    50: '#727f51',
    500: '#394e0c',
    950: '#000000',
  },
}
SCSS
$custom: #394e0c;
$custom-light: #727f51;
$custom-dark: #000000;
JSON
{
  "hex": "#394e0c",
  "rgb": {
    "r": 57,
    "g": 78,
    "b": 12
  },
  "hsl": {
    "h": 79.091,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.39248,
    "c": 0.09211,
    "h": 126.3
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#394E0C
secondary
#4A2C8A
accent
#38F072
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #394E0C

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

Preview Lab → · Contrast checker → · Palette generator →

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