#394C17#394C17

#394C17 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.8% C 0.081 H 126.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#394C17
RGBrgb(57, 76, 23)
HSLhsl(82, 54%, 19%)
HSVhsv(82, 70%, 30%)
CMYKcmyk(25%, 0%, 69.7%, 70.2%)
CIE-LABlab(29.66, -16.94, 28.21)
CIE-LCHlch(29.66, 32.91, 120.98°)
OKLaboklab(38.79% -0.0482 0.0648)
OKLCHoklch(38.79% 0.081 126.7)
XYZxyz(4.4264, 6.1005, 1.7548)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394C17 #2A174C
analogous
#4C4517 #394C17 #1F4C17
triadic
#394C17 #17394C #4C1739
tetradic
#394C17 #174C45 #2A174C #4C171F
square
#394C17 #174C45 #2A174C #4C171F
split-complementary
#394C17 #171F4C #45174C
monochromatic
#121707 #161D09 #394C17 #5C7B25 #7FAA33

Accessibility & contrast

On white

9.46
#394C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394C17
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394C17#FFFFFF#000000##FFFFFF
##394C171.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504710
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#3B4841
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #394c17;
/* rgb */ color: rgb(57, 76, 23);
/* oklch */ color: oklch(38.8% 0.081 126.7);
Tailwind
colors: {
  custom: {
    50: '#717e57',
    500: '#394c17',
    950: '#000000',
  },
}
SCSS
$custom: #394c17;
$custom-light: #717e57;
$custom-dark: #000000;
JSON
{
  "hex": "#394c17",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 23
  },
  "hsl": {
    "h": 81.509,
    "s": 53.535,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38787,
    "c": 0.08075,
    "h": 126.7
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#394C17
secondary
#553C83
accent
#4BDD7F
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394C17

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

Preview Lab → · Contrast checker → · Palette generator →

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