#394917#394917

#394917 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 38.0% C 0.076 H 124.9°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#394917
RGBrgb(57, 73, 23)
HSLhsl(79, 52%, 19%)
HSVhsv(79, 68%, 29%)
CMYKcmyk(21.9%, 0%, 68.5%, 71.4%)
CIE-LABlab(28.63, -15.28, 27.09)
CIE-LCHlch(28.63, 31.10, 119.42°)
OKLaboklab(37.95% -0.0436 0.0624)
OKLCHoklch(37.95% 0.076 124.9)
XYZxyz(4.2246, 5.6968, 1.6875)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394917 #271749
analogous
#494017 #394917 #204917
triadic
#394917 #173949 #491739
tetradic
#394917 #174940 #271749 #491720
square
#394917 #174940 #271749 #491720
split-complementary
#394917 #172049 #401749
monochromatic
#121707 #151A08 #394917 #5D7826 #82A634

Accessibility & contrast

On white

9.82
#394917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#394917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394917
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394917#FFFFFF#000000##FFFFFF
##3949171.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4411
Deuteranopia (green-blind)
#4B431B
Tritanopia (blue-blind)
#3C453E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #394917;
/* rgb */ color: rgb(57, 73, 23);
/* oklch */ color: oklch(38.0% 0.076 124.9);
Tailwind
colors: {
  custom: {
    50: '#717b56',
    500: '#394917',
    950: '#000000',
  },
}
SCSS
$custom: #394917;
$custom-light: #717b56;
$custom-dark: #000000;
JSON
{
  "hex": "#394917",
  "rgb": {
    "r": 57,
    "g": 73,
    "b": 23
  },
  "hsl": {
    "h": 79.2,
    "s": 52.083,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37954,
    "c": 0.07613,
    "h": 124.9
  },
  "luminance": 0.05697
}

Semantic roles & 50–950 ramp

primary
#394917
secondary
#523C80
accent
#4CDC7A
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394917

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

Preview Lab → · Contrast checker → · Palette generator →

#394917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva