#394C18#394C18

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

Color values

HEX#394C18
RGBrgb(57, 76, 24)
HSLhsl(82, 52%, 20%)
HSVhsv(82, 68%, 30%)
CMYKcmyk(25%, 0%, 68.4%, 70.2%)
CIE-LABlab(29.67, -16.84, 27.72)
CIE-LCHlch(29.67, 32.44, 121.29°)
OKLaboklab(38.8% -0.0478 0.0639)
OKLCHoklch(38.8% 0.08 126.8)
XYZxyz(4.4367, 6.1046, 1.8085)
Luminance0.0611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394C18 #2B184C
analogous
#4C4518 #394C18 #1F4C18
triadic
#394C18 #18394C #4C1839
tetradic
#394C18 #184C45 #2B184C #4C181F
square
#394C18 #184C45 #2B184C #4C181F
split-complementary
#394C18 #181F4C #45184C
monochromatic
#111707 #161D09 #394C18 #5C7B27 #7FA935

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##394C18#FFFFFF#000000##FFFFFF
##394C181.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)
#504712
Deuteranopia (green-blind)
#4D461C
Tritanopia (blue-blind)
#3B4841
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #394c18;
/* rgb */ color: rgb(57, 76, 24);
/* oklch */ color: oklch(38.8% 0.080 126.8);
Tailwind
colors: {
  custom: {
    50: '#717e57',
    500: '#394c18',
    950: '#000000',
  },
}
SCSS
$custom: #394c18;
$custom-light: #717e57;
$custom-dark: #000000;
JSON
{
  "hex": "#394c18",
  "rgb": {
    "r": 57,
    "g": 76,
    "b": 24
  },
  "hsl": {
    "h": 81.923,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38799,
    "c": 0.07981,
    "h": 126.8
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#394C18
secondary
#573D83
accent
#4CDB81
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394C18

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

Preview Lab → · Contrast checker → · Palette generator →

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