#394D12#394D12

#394D12 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.0% C 0.087 H 126.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#394D12
RGBrgb(57, 77, 18)
HSLhsl(80, 62%, 19%)
HSVhsv(80, 77%, 30%)
CMYKcmyk(26%, 0%, 76.6%, 69.8%)
CIE-LABlab(29.96, -17.91, 30.90)
CIE-LCHlch(29.96, 35.71, 120.09°)
OKLaboklab(39.02% -0.0514 0.0696)
OKLCHoklch(39.02% 0.087 126.4)
XYZxyz(4.4504, 6.2212, 1.5385)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D12 #26124D
analogous
#4D4312 #394D12 #1B4D12
triadic
#394D12 #12394D #4D1239
tetradic
#394D12 #124D43 #26124D #4D121B
square
#394D12 #124D43 #26124D #4D121B
split-complementary
#394D12 #121B4D #43124D
monochromatic
#121906 #141B06 #394D12 #5E7F1E #82B029

Accessibility & contrast

On white

9.36
#394D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#394D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D12
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D12#FFFFFF#000000##FFFFFF
##394D121.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#4F4617
Tritanopia (blue-blind)
#3C4941
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394d12;
/* rgb */ color: rgb(57, 77, 18);
/* oklch */ color: oklch(39.0% 0.087 126.4);
Tailwind
colors: {
  custom: {
    50: '#727f54',
    500: '#394d12',
    950: '#000000',
  },
}
SCSS
$custom: #394d12;
$custom-light: #727f54;
$custom-dark: #000000;
JSON
{
  "hex": "#394d12",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 80.339,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39015,
    "c": 0.08652,
    "h": 126.4
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#394D12
secondary
#503586
accent
#43E57A
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #394D12

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

Preview Lab → · Contrast checker → · Palette generator →

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