#394D0C#394D0C

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

Color values

HEX#394D0C
RGBrgb(57, 77, 12)
HSLhsl(78, 73%, 17%)
HSVhsv(78, 84%, 30%)
CMYKcmyk(26%, 0%, 84.4%, 69.8%)
CIE-LABlab(29.92, -18.30, 33.31)
CIE-LCHlch(29.92, 38.01, 118.79°)
OKLaboklab(38.97% -0.053 0.0736)
OKLCHoklch(38.97% 0.091 125.8)
XYZxyz(4.4076, 6.2041, 1.3131)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D0C #200C4D
analogous
#4D410C #394D0C #184D0C
triadic
#394D0C #0C394D #4D0C39
tetradic
#394D0C #0C4D41 #200C4D #4D0C18
square
#394D0C #0C4D41 #200C4D #4D0C18
split-complementary
#394D0C #0C184D #410C4D
monochromatic
#141A04 #141A04 #394D0C #608214 #87B71D

Accessibility & contrast

On white

9.37
#394D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394D0C
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D0C#FFFFFF#000000##FFFFFF
##394D0C1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524700
Deuteranopia (green-blind)
#4F4612
Tritanopia (blue-blind)
#3C4941
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #394d0c;
/* rgb */ color: rgb(57, 77, 12);
/* oklch */ color: oklch(39.0% 0.091 125.8);
Tailwind
colors: {
  custom: {
    50: '#727f51',
    500: '#394d0c',
    950: '#000000',
  },
}
SCSS
$custom: #394d0c;
$custom-light: #727f51;
$custom-dark: #000000;
JSON
{
  "hex": "#394d0c",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 78.462,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38967,
    "c": 0.0907,
    "h": 125.8
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#394D0C
secondary
#492C89
accent
#38F071
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #394D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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