#3E5214#3E5214

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

Color values

HEX#3E5214
RGBrgb(62, 82, 20)
HSLhsl(79, 61%, 20%)
HSVhsv(79, 76%, 32%)
CMYKcmyk(24.4%, 0%, 75.6%, 67.8%)
CIE-LABlab(32.05, -18.17, 32.25)
CIE-LCHlch(32.05, 37.02, 119.40°)
OKLaboklab(40.81% -0.0523 0.0727)
OKLCHoklch(40.81% 0.09 125.7)
XYZxyz(5.1302, 7.1092, 1.7636)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5214 #281452
analogous
#524714 #3E5214 #1F5214
triadic
#3E5214 #143E52 #52143E
tetradic
#3E5214 #145247 #281452 #52141F
square
#3E5214 #145247 #281452 #52141F
split-complementary
#3E5214 #141F52 #471452
monochromatic
#131906 #192108 #3E5214 #638320 #88B42C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E5214#FFFFFF#000000##FFFFFF
##3E52141.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)
#574C0A
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#414E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e5214;
/* rgb */ color: rgb(62, 82, 20);
/* oklch */ color: oklch(40.8% 0.090 125.7);
Tailwind
colors: {
  custom: {
    50: '#768256',
    500: '#3e5214',
    950: '#000000',
  },
}
SCSS
$custom: #3e5214;
$custom-light: #768256;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5214",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 79.355,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.40807,
    "c": 0.08952,
    "h": 125.7
  },
  "luminance": 0.07109
}

Semantic roles & 50–950 ramp

primary
#3E5214
secondary
#52388A
accent
#44E478
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E5214

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

Preview Lab → · Contrast checker → · Palette generator →

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