#3E5712#3E5712

#3E5712 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.2% C 0.098 H 127.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3E5712
RGBrgb(62, 87, 18)
HSLhsl(82, 66%, 21%)
HSVhsv(82, 79%, 34%)
CMYKcmyk(28.7%, 0%, 79.3%, 65.9%)
CIE-LABlab(33.74, -20.96, 34.77)
CIE-LCHlch(33.74, 40.60, 121.08°)
OKLaboklab(42.17% -0.0601 0.0776)
OKLCHoklch(42.17% 0.098 127.7)
XYZxyz(5.5040, 7.8841, 1.8039)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5712 #2B1257
analogous
#574D12 #3E5712 #1B5712
triadic
#3E5712 #123E57 #57123E
tetradic
#3E5712 #12574D #2B1257 #57121B
square
#3E5712 #12574D #2B1257 #57121B
split-complementary
#3E5712 #121B57 #4D1257
monochromatic
#121905 #1A2408 #3E5712 #628A1C #86BC27

Accessibility & contrast

On white

8.15
#3E5712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3E5712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5712
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5712#FFFFFF#000000##FFFFFF
##3E57121.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5005
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#41534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e5712;
/* rgb */ color: rgb(62, 87, 18);
/* oklch */ color: oklch(42.2% 0.098 127.7);
Tailwind
colors: {
  custom: {
    50: '#768655',
    500: '#3e5712',
    950: '#000000',
  },
}
SCSS
$custom: #3e5712;
$custom-light: #768655;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5712",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 18
  },
  "hsl": {
    "h": 81.739,
    "s": 65.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.09815,
    "h": 127.7
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#3E5712
secondary
#563590
accent
#3FE97D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5712

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

Preview Lab → · Contrast checker → · Palette generator →

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