#395417#395417

#395417 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.093 H 130.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#395417
RGBrgb(57, 84, 23)
HSLhsl(87, 57%, 21%)
HSVhsv(87, 73%, 33%)
CMYKcmyk(32.1%, 0%, 72.6%, 67.1%)
CIE-LABlab(32.42, -21.20, 31.15)
CIE-LCHlch(32.42, 37.68, 124.24°)
OKLaboklab(41.02% -0.0599 0.071)
OKLCHoklch(41.02% 0.093 130.2)
XYZxyz(5.0123, 7.2722, 1.9500)
Luminance0.0727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395417 #321754
analogous
#545017 #395417 #1B5417
triadic
#395417 #173954 #541739
tetradic
#395417 #175450 #321754 #54171B
square
#395417 #175450 #321754 #54171B
split-complementary
#395417 #171B54 #501754
monochromatic
#101807 #18240A #395417 #5A8424 #7AB431

Accessibility & contrast

On white

8.56
#395417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#395417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395417
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395417#FFFFFF#000000##FFFFFF
##3954171.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E0F
Deuteranopia (green-blind)
#544C1C
Tritanopia (blue-blind)
#3B5048
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #395417;
/* rgb */ color: rgb(57, 84, 23);
/* oklch */ color: oklch(41.0% 0.093 130.2);
Tailwind
colors: {
  custom: {
    50: '#728458',
    500: '#395417',
    950: '#000000',
  },
}
SCSS
$custom: #395417;
$custom-light: #728458;
$custom-dark: #000000;
JSON
{
  "hex": "#395417",
  "rgb": {
    "r": 57,
    "g": 84,
    "b": 23
  },
  "hsl": {
    "h": 86.557,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41021,
    "c": 0.09289,
    "h": 130.2
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#395417
secondary
#5F3C8B
accent
#48E08B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395417

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

Preview Lab → · Contrast checker → · Palette generator →

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