#394C12#394C12

#394C12 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.7% C 0.085 H 125.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#394C12
RGBrgb(57, 76, 18)
HSLhsl(80, 62%, 18%)
HSVhsv(80, 76%, 30%)
CMYKcmyk(25%, 0%, 76.3%, 70.2%)
CIE-LABlab(29.62, -17.36, 30.55)
CIE-LCHlch(29.62, 35.14, 119.61°)
OKLaboklab(38.74% -0.0499 0.0689)
OKLCHoklch(38.74% 0.085 125.9)
XYZxyz(4.3810, 6.0824, 1.5154)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394C12 #25124C
analogous
#4C4212 #394C12 #1C4C12
triadic
#394C12 #12394C #4C1239
tetradic
#394C12 #124C42 #25124C #4C121C
square
#394C12 #124C42 #25124C #4C121C
split-complementary
#394C12 #121C4C #42124C
monochromatic
#131906 #141B06 #394C12 #5E7D1E #83AF29

Accessibility & contrast

On white

9.47
#394C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#394C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394C12
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394C12#FFFFFF#000000##FFFFFF
##394C121.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#4E4517
Tritanopia (blue-blind)
#3C4840
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #394c12;
/* rgb */ color: rgb(57, 76, 18);
/* oklch */ color: oklch(38.7% 0.085 125.9);
Tailwind
colors: {
  custom: {
    50: '#727e54',
    500: '#394c12',
    950: '#000000',
  },
}
SCSS
$custom: #394c12;
$custom-light: #727e54;
$custom-dark: #000000;
JSON
{
  "hex": "#394c12",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 79.655,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.08505,
    "h": 125.9
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#394C12
secondary
#4F3585
accent
#43E578
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394C12

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

Preview Lab → · Contrast checker → · Palette generator →

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