#395216#395216

#395216 is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.5% C 0.091 H 129.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#395216
RGBrgb(57, 82, 22)
HSLhsl(85, 58%, 20%)
HSVhsv(85, 73%, 32%)
CMYKcmyk(30.5%, 0%, 73.2%, 67.8%)
CIE-LABlab(31.72, -20.25, 30.89)
CIE-LCHlch(31.72, 36.93, 123.24°)
OKLaboklab(40.45% -0.0574 0.0703)
OKLCHoklch(40.45% 0.091 129.3)
XYZxyz(4.8494, 6.9622, 1.8472)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#395216 #2F1652
analogous
#524D16 #395216 #1B5216
triadic
#395216 #163952 #521639
tetradic
#395216 #16524D #2F1652 #52161B
square
#395216 #16524D #2F1652 #52161B
split-complementary
#395216 #161B52 #4D1652
monochromatic
#111806 #172209 #395216 #5B8223 #7CB330

Accessibility & contrast

On white

8.78
#395216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#395216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #395216
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##395216#FFFFFF#000000##FFFFFF
##3952161.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0E
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#3B4E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #395216;
/* rgb */ color: rgb(57, 82, 22);
/* oklch */ color: oklch(40.5% 0.091 129.3);
Tailwind
colors: {
  custom: {
    50: '#728257',
    500: '#395216',
    950: '#000000',
  },
}
SCSS
$custom: #395216;
$custom-light: #728257;
$custom-dark: #000000;
JSON
{
  "hex": "#395216",
  "rgb": {
    "r": 57,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 85,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.09072,
    "h": 129.3
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#395216
secondary
#5B3A89
accent
#47E187
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #395216

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

Preview Lab → · Contrast checker → · Palette generator →

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