#394F12#394F12

#394F12 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.6% C 0.089 H 127.4°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#394F12
RGBrgb(57, 79, 18)
HSLhsl(82, 63%, 19%)
HSVhsv(82, 77%, 31%)
CMYKcmyk(27.8%, 0%, 77.2%, 69%)
CIE-LABlab(30.65, -18.98, 31.59)
CIE-LCHlch(30.65, 36.86, 120.99°)
OKLaboklab(39.57% -0.0543 0.0711)
OKLCHoklch(39.57% 0.089 127.4)
XYZxyz(4.5925, 6.5054, 1.5859)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394F12 #28124F
analogous
#4F4712 #394F12 #1B4F12
triadic
#394F12 #12394F #4F1239
tetradic
#394F12 #124F47 #28124F #4F121B
square
#394F12 #124F47 #28124F #4F121B
split-complementary
#394F12 #121B4F #47124F
monochromatic
#121906 #151D07 #394F12 #5D811D #81B329

Accessibility & contrast

On white

9.13
#394F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#394F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394F12
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394F12#FFFFFF#000000##FFFFFF
##394F121.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#504817
Tritanopia (blue-blind)
#3B4B43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #394f12;
/* rgb */ color: rgb(57, 79, 18);
/* oklch */ color: oklch(39.6% 0.089 127.4);
Tailwind
colors: {
  custom: {
    50: '#728054',
    500: '#394f12',
    950: '#000000',
  },
}
SCSS
$custom: #394f12;
$custom-light: #728054;
$custom-dark: #000000;
JSON
{
  "hex": "#394f12",
  "rgb": {
    "r": 57,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 81.639,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39574,
    "c": 0.08946,
    "h": 127.4
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#394F12
secondary
#533588
accent
#42E67D
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #394F12

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

Preview Lab → · Contrast checker → · Palette generator →

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