#394D18#394D18

#394D18 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 39.1% C 0.081 H 127.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#394D18
RGBrgb(57, 77, 24)
HSLhsl(83, 52%, 20%)
HSVhsv(83, 69%, 30%)
CMYKcmyk(26%, 0%, 68.8%, 69.8%)
CIE-LABlab(30.02, -17.39, 28.10)
CIE-LCHlch(30.02, 33.04, 121.76°)
OKLaboklab(39.08% -0.0494 0.0647)
OKLCHoklch(39.08% 0.081 127.4)
XYZxyz(4.5061, 6.2435, 1.8317)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394D18 #2C184D
analogous
#4D4718 #394D18 #1E4D18
triadic
#394D18 #18394D #4D1839
tetradic
#394D18 #184D47 #2C184D #4D181E
square
#394D18 #184D47 #2C184D #4D181E
split-complementary
#394D18 #181E4D #47184D
monochromatic
#111707 #161E09 #394D18 #5C7C27 #7EAA35

Accessibility & contrast

On white

9.34
#394D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#394D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394D18
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394D18#FFFFFF#000000##FFFFFF
##394D181.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514812
Deuteranopia (green-blind)
#4E461C
Tritanopia (blue-blind)
#3B4942
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #394d18;
/* rgb */ color: rgb(57, 77, 24);
/* oklch */ color: oklch(39.1% 0.081 127.4);
Tailwind
colors: {
  custom: {
    50: '#717f57',
    500: '#394d18',
    950: '#000000',
  },
}
SCSS
$custom: #394d18;
$custom-light: #717f57;
$custom-dark: #000000;
JSON
{
  "hex": "#394d18",
  "rgb": {
    "r": 57,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 82.642,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39077,
    "c": 0.08135,
    "h": 127.4
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#394D18
secondary
#583D84
accent
#4CDC82
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #394D18

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

Preview Lab → · Contrast checker → · Palette generator →

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