#394A17#394A17

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

Color values

HEX#394A17
RGBrgb(57, 74, 23)
HSLhsl(80, 53%, 19%)
HSVhsv(80, 69%, 29%)
CMYKcmyk(23%, 0%, 68.9%, 71%)
CIE-LABlab(28.98, -15.83, 27.47)
CIE-LCHlch(28.98, 31.70, 119.96°)
OKLaboklab(38.23% -0.0452 0.0632)
OKLCHoklch(38.23% 0.078 125.6)
XYZxyz(4.2908, 5.8292, 1.7095)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394A17 #28174A
analogous
#4A4217 #394A17 #204A17
triadic
#394A17 #17394A #4A1739
tetradic
#394A17 #174A42 #28174A #4A1720
square
#394A17 #174A42 #28174A #4A1720
split-complementary
#394A17 #17204A #42174A
monochromatic
#121707 #151B08 #394A17 #5D7926 #81A734

Accessibility & contrast

On white

9.70
#394A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #394A17
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394A17#FFFFFF#000000##FFFFFF
##394A171.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #394a17;
/* rgb */ color: rgb(57, 74, 23);
/* oklch */ color: oklch(38.2% 0.078 125.6);
Tailwind
colors: {
  custom: {
    50: '#717c57',
    500: '#394a17',
    950: '#000000',
  },
}
SCSS
$custom: #394a17;
$custom-light: #717c57;
$custom-dark: #000000;
JSON
{
  "hex": "#394a17",
  "rgb": {
    "r": 57,
    "g": 74,
    "b": 23
  },
  "hsl": {
    "h": 80,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38232,
    "c": 0.07767,
    "h": 125.6
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#394A17
secondary
#533C81
accent
#4CDC7C
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394A17

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

Preview Lab → · Contrast checker → · Palette generator →

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