#395716#395716

#395716 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.9% C 0.098 H 131.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#395716
RGBrgb(57, 87, 22)
HSLhsl(88, 60%, 21%)
HSVhsv(88, 75%, 34%)
CMYKcmyk(34.5%, 0%, 74.7%, 65.9%)
CIE-LABlab(33.44, -22.82, 32.68)
CIE-LCHlch(33.44, 39.86, 124.93°)
OKLaboklab(41.85% -0.0644 0.074)
OKLCHoklch(41.85% 0.098 131.1)
XYZxyz(5.2403, 7.7440, 1.9775)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395716 #341657
analogous
#575516 #395716 #195716
triadic
#395716 #163957 #571639
tetradic
#395716 #165755 #341657 #571619
square
#395716 #165755 #341657 #571619
split-complementary
#395716 #161957 #551657
monochromatic
#101806 #19260A #395716 #598822 #79B92F

Accessibility & contrast

On white

8.24
#395716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#395716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395716
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395716#FFFFFF#000000##FFFFFF
##3957161.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500C
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#3A534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #395716;
/* rgb */ color: rgb(57, 87, 22);
/* oklch */ color: oklch(41.9% 0.098 131.1);
Tailwind
colors: {
  custom: {
    50: '#728657',
    500: '#395716',
    950: '#000000',
  },
}
SCSS
$custom: #395716;
$custom-light: #728657;
$custom-dark: #000000;
JSON
{
  "hex": "#395716",
  "rgb": {
    "r": 57,
    "g": 87,
    "b": 22
  },
  "hsl": {
    "h": 87.692,
    "s": 59.633,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41853,
    "c": 0.09814,
    "h": 131.1
  },
  "luminance": 0.07744
}

Semantic roles & 50–950 ramp

primary
#395716
secondary
#613A8E
accent
#45E38E
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #395716

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

Preview Lab → · Contrast checker → · Palette generator →

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