#3E5512#3E5512

#3E5512 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.6% C 0.095 H 126.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3E5512
RGBrgb(62, 85, 18)
HSLhsl(81, 65%, 20%)
HSVhsv(81, 79%, 33%)
CMYKcmyk(27.1%, 0%, 78.8%, 66.7%)
CIE-LABlab(33.06, -19.91, 34.11)
CIE-LCHlch(33.06, 39.49, 120.28°)
OKLaboklab(41.62% -0.0572 0.0762)
OKLCHoklch(41.62% 0.095 126.9)
XYZxyz(5.3443, 7.5647, 1.7507)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5512 #291255
analogous
#554A12 #3E5512 #1C5512
triadic
#3E5512 #123E55 #55123E
tetradic
#3E5512 #12554A #291255 #55121C
square
#3E5512 #12554A #291255 #55121C
split-complementary
#3E5512 #121C55 #4A1255
monochromatic
#121905 #192207 #3E5512 #63881D #88BA27

Accessibility & contrast

On white

8.36
#3E5512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3E5512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5512
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5512#FFFFFF#000000##FFFFFF
##3E55121.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F06
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#415148
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3e5512;
/* rgb */ color: rgb(62, 85, 18);
/* oklch */ color: oklch(41.6% 0.095 126.9);
Tailwind
colors: {
  custom: {
    50: '#768555',
    500: '#3e5512',
    950: '#000000',
  },
}
SCSS
$custom: #3e5512;
$custom-light: #768555;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5512",
  "rgb": {
    "r": 62,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 80.597,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41617,
    "c": 0.09531,
    "h": 126.9
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#3E5512
secondary
#53358E
accent
#40E87A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5512

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

Preview Lab → · Contrast checker → · Palette generator →

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