#394817#394817

#394817 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.7% C 0.075 H 124.3°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#394817
RGBrgb(57, 72, 23)
HSLhsl(78, 52%, 19%)
HSVhsv(78, 68%, 28%)
CMYKcmyk(20.8%, 0%, 68.1%, 71.8%)
CIE-LABlab(28.29, -14.71, 26.72)
CIE-LCHlch(28.29, 30.50, 118.84°)
OKLaboklab(37.68% -0.042 0.0616)
OKLCHoklch(37.68% 0.075 124.3)
XYZxyz(4.1594, 5.5664, 1.6657)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#394817 #261748
analogous
#483E17 #394817 #204817
triadic
#394817 #173948 #481739
tetradic
#394817 #17483E #261748 #481720
square
#394817 #17483E #261748 #481720
split-complementary
#394817 #172048 #3E1748
monochromatic
#121707 #141A08 #394817 #5E7626 #82A535

Accessibility & contrast

On white

9.94
#394817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#394817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #394817
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##394817#FFFFFF#000000##FFFFFF
##3948171.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4311
Deuteranopia (green-blind)
#4A431A
Tritanopia (blue-blind)
#3C443E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #394817;
/* rgb */ color: rgb(57, 72, 23);
/* oklch */ color: oklch(37.7% 0.075 124.3);
Tailwind
colors: {
  custom: {
    50: '#717b56',
    500: '#394817',
    950: '#000000',
  },
}
SCSS
$custom: #394817;
$custom-light: #717b56;
$custom-dark: #000000;
JSON
{
  "hex": "#394817",
  "rgb": {
    "r": 57,
    "g": 72,
    "b": 23
  },
  "hsl": {
    "h": 78.367,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37677,
    "c": 0.07458,
    "h": 124.3
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#394817
secondary
#503C7F
accent
#4DDB78
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#080903
muted
#7B7B78

Preview Lab

Preview with #394817

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

Preview Lab → · Contrast checker → · Palette generator →

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