#3E5216#3E5216

#3E5216 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.088 H 126.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3E5216
RGBrgb(62, 82, 22)
HSLhsl(80, 58%, 20%)
HSVhsv(80, 73%, 32%)
CMYKcmyk(24.4%, 0%, 73.2%, 67.8%)
CIE-LABlab(32.07, -18.02, 31.36)
CIE-LCHlch(32.07, 36.17, 119.88°)
OKLaboklab(40.83% -0.0516 0.0711)
OKLCHoklch(40.83% 0.088 126)
XYZxyz(5.1487, 7.1166, 1.8613)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5216 #2A1652
analogous
#524816 #3E5216 #205216
triadic
#3E5216 #163E52 #52163E
tetradic
#3E5216 #165248 #2A1652 #521620
square
#3E5216 #165248 #2A1652 #521620
split-complementary
#3E5216 #162052 #481652
monochromatic
#121806 #1A2209 #3E5216 #628223 #87B330

Accessibility & contrast

On white

8.67
#3E5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3E5216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5216
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5216#FFFFFF#000000##FFFFFF
##3E52161.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0D
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#414E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e5216;
/* rgb */ color: rgb(62, 82, 22);
/* oklch */ color: oklch(40.8% 0.088 126.0);
Tailwind
colors: {
  custom: {
    50: '#758257',
    500: '#3e5216',
    950: '#000000',
  },
}
SCSS
$custom: #3e5216;
$custom-light: #758257;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5216",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 80,
    "s": 57.692,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40826,
    "c": 0.08791,
    "h": 126
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#3E5216
secondary
#553A89
accent
#47E17A
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3E5216

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

Preview Lab → · Contrast checker → · Palette generator →

#3E5216 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva