#3E5612#3E5612

#3E5612 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.9% C 0.097 H 127.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3E5612
RGBrgb(62, 86, 18)
HSLhsl(81, 65%, 20%)
HSVhsv(81, 79%, 34%)
CMYKcmyk(27.9%, 0%, 79.1%, 66.3%)
CIE-LABlab(33.40, -20.44, 34.44)
CIE-LCHlch(33.40, 40.05, 120.68°)
OKLaboklab(41.89% -0.0587 0.0769)
OKLCHoklch(41.89% 0.097 127.3)
XYZxyz(5.4236, 7.7233, 1.7771)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5612 #2A1256
analogous
#564C12 #3E5612 #1C5612
triadic
#3E5612 #123E56 #56123E
tetradic
#3E5612 #12564C #2A1256 #56121C
square
#3E5612 #12564C #2A1256 #56121C
split-complementary
#3E5612 #121C56 #4C1256
monochromatic
#121905 #1A2307 #3E5612 #62891D #87BB27

Accessibility & contrast

On white

8.25
#3E5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3E5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5612
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5612#FFFFFF#000000##FFFFFF
##3E56121.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5006
Deuteranopia (green-blind)
#574E18
Tritanopia (blue-blind)
#415249
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e5612;
/* rgb */ color: rgb(62, 86, 18);
/* oklch */ color: oklch(41.9% 0.097 127.3);
Tailwind
colors: {
  custom: {
    50: '#768555',
    500: '#3e5612',
    950: '#000000',
  },
}
SCSS
$custom: #3e5612;
$custom-light: #768555;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5612",
  "rgb": {
    "r": 62,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 81.176,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41894,
    "c": 0.09673,
    "h": 127.3
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#3E5612
secondary
#55358F
accent
#3FE87B
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3E5612

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

Preview Lab → · Contrast checker → · Palette generator →

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