#394A18#394A18

#394A18 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.2% C 0.077 H 125.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#394A18
RGBrgb(57, 74, 24)
HSLhsl(80, 51%, 19%)
HSVhsv(80, 68%, 29%)
CMYKcmyk(23%, 0%, 67.6%, 71%)
CIE-LABlab(28.99, -15.74, 26.97)
CIE-LCHlch(28.99, 31.22, 120.27°)
OKLaboklab(38.24% -0.0448 0.0623)
OKLCHoklch(38.24% 0.077 125.7)
XYZxyz(4.3010, 5.8333, 1.7633)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394A18 #29184A
analogous
#4A4218 #394A18 #204A18
triadic
#394A18 #18394A #4A1839
tetradic
#394A18 #184A42 #29184A #4A1820
square
#394A18 #184A42 #29184A #4A1820
split-complementary
#394A18 #18204A #42184A
monochromatic
#121707 #151C09 #394A18 #5D7827 #80A636

Accessibility & contrast

On white

9.69
#394A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#394A18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394A18
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394A18#FFFFFF#000000##FFFFFF
##394A181.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#3C463F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #394a18;
/* rgb */ color: rgb(57, 74, 24);
/* oklch */ color: oklch(38.2% 0.077 125.7);
Tailwind
colors: {
  custom: {
    50: '#717c57',
    500: '#394a18',
    950: '#000000',
  },
}
SCSS
$custom: #394a18;
$custom-light: #717c57;
$custom-dark: #000000;
JSON
{
  "hex": "#394a18",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 24
  },
  "hsl": {
    "h": 80.4,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38244,
    "c": 0.07671,
    "h": 125.7
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#394A18
secondary
#543D81
accent
#4DDA7D
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394A18

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

Preview Lab → · Contrast checker → · Palette generator →

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