#3E5211#3E5211

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

Color values

HEX#3E5211
RGBrgb(62, 82, 17)
HSLhsl(78, 66%, 19%)
HSVhsv(78, 79%, 32%)
CMYKcmyk(24.4%, 0%, 79.3%, 67.8%)
CIE-LABlab(32.03, -18.38, 33.51)
CIE-LCHlch(32.03, 38.22, 118.75°)
OKLaboklab(40.78% -0.0531 0.0748)
OKLCHoklch(40.78% 0.092 125.4)
XYZxyz(5.1051, 7.0991, 1.6315)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5211 #251152
analogous
#524611 #3E5211 #1D5211
triadic
#3E5211 #113E52 #52113E
tetradic
#3E5211 #115246 #251152 #52111D
square
#3E5211 #115246 #251152 #52111D
split-complementary
#3E5211 #111D52 #461152
monochromatic
#131905 #181F06 #3E5211 #64851C #8BB726

Accessibility & contrast

On white

8.68
#3E5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E5211
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5211#FFFFFF#000000##FFFFFF
##3E52111.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C05
Deuteranopia (green-blind)
#544B17
Tritanopia (blue-blind)
#414E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e5211;
/* rgb */ color: rgb(62, 82, 17);
/* oklch */ color: oklch(40.8% 0.092 125.4);
Tailwind
colors: {
  custom: {
    50: '#768254',
    500: '#3e5211',
    950: '#000000',
  },
}
SCSS
$custom: #3e5211;
$custom-light: #768254;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5211",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 78.462,
    "s": 65.657,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40782,
    "c": 0.09174,
    "h": 125.4
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#3E5211
secondary
#4F348B
accent
#3FE973
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E5211

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

Preview Lab → · Contrast checker → · Palette generator →

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