#394912#394912

#394912 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.9% C 0.081 H 124.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#394912
RGBrgb(57, 73, 18)
HSLhsl(77, 60%, 18%)
HSVhsv(77, 75%, 29%)
CMYKcmyk(21.9%, 0%, 75.3%, 71.4%)
CIE-LABlab(28.59, -15.71, 29.49)
CIE-LCHlch(28.59, 33.41, 118.04°)
OKLaboklab(37.9% -0.0453 0.0667)
OKLCHoklch(37.9% 0.081 124.2)
XYZxyz(4.1791, 5.6786, 1.4481)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394912 #221249
analogous
#493E12 #394912 #1D4912
triadic
#394912 #123949 #491239
tetradic
#394912 #12493E #221249 #49121D
square
#394912 #12493E #221249 #49121D
split-complementary
#394912 #121D49 #3E1249
monochromatic
#131906 #131906 #394912 #5F7A1E #86AB2A

Accessibility & contrast

On white

9.83
#394912 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#394912 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394912
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394912#FFFFFF#000000##FFFFFF
##3949121.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394912;
/* rgb */ color: rgb(57, 73, 18);
/* oklch */ color: oklch(37.9% 0.081 124.2);
Tailwind
colors: {
  custom: {
    50: '#717b53',
    500: '#394912',
    950: '#000000',
  },
}
SCSS
$custom: #394912;
$custom-light: #717b53;
$custom-dark: #000000;
JSON
{
  "hex": "#394912",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 18
  },
  "hsl": {
    "h": 77.455,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37901,
    "c": 0.08062,
    "h": 124.2
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#394912
secondary
#4B3582
accent
#44E473
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394912

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

Preview Lab → · Contrast checker → · Palette generator →

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