#3E5210#3E5210

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

Color values

HEX#3E5210
RGBrgb(62, 82, 16)
HSLhsl(78, 67%, 19%)
HSVhsv(78, 80%, 32%)
CMYKcmyk(24.4%, 0%, 80.5%, 67.8%)
CIE-LABlab(32.02, -18.45, 33.90)
CIE-LCHlch(32.02, 38.60, 118.55°)
OKLaboklab(40.77% -0.0534 0.0754)
OKLCHoklch(40.77% 0.092 125.3)
XYZxyz(5.0975, 7.0961, 1.5912)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5210 #241052
analogous
#524510 #3E5210 #1D5210
triadic
#3E5210 #103E52 #52103E
tetradic
#3E5210 #105245 #241052 #52101D
square
#3E5210 #105245 #241052 #52101D
split-complementary
#3E5210 #101D52 #451052
monochromatic
#131A05 #171F06 #3E5210 #65851A #8BB824

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E5210#FFFFFF#000000##FFFFFF
##3E52101.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)
#574C04
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#414E45
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e5210;
/* rgb */ color: rgb(62, 82, 16);
/* oklch */ color: oklch(40.8% 0.092 125.3);
Tailwind
colors: {
  custom: {
    50: '#768254',
    500: '#3e5210',
    950: '#000000',
  },
}
SCSS
$custom: #3e5210;
$custom-light: #768254;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5210",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 78.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.09242,
    "h": 125.3
  },
  "luminance": 0.07096
}

Semantic roles & 50–950 ramp

primary
#3E5210
secondary
#4D328C
accent
#3EEA72
background
#F7F7F5
surface
#EDEEE8
border
#C8C9C4
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E5210

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

Preview Lab → · Contrast checker → · Palette generator →

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