#3E5012#3E5012

#3E5012 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.088 H 124.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3E5012
RGBrgb(62, 80, 18)
HSLhsl(77, 63%, 19%)
HSVhsv(77, 78%, 31%)
CMYKcmyk(22.5%, 0%, 77.5%, 68.6%)
CIE-LABlab(31.36, -17.23, 32.42)
CIE-LCHlch(31.36, 36.72, 117.99°)
OKLaboklab(40.24% -0.0499 0.0727)
OKLCHoklch(40.24% 0.088 124.5)
XYZxyz(4.9645, 6.8051, 1.6241)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5012 #241250
analogous
#504312 #3E5012 #1F5012
triadic
#3E5012 #123E50 #50123E
tetradic
#3E5012 #125043 #241250 #50121F
square
#3E5012 #125043 #241250 #50121F
split-complementary
#3E5012 #121F50 #431250
monochromatic
#131906 #171E07 #3E5012 #65821D #8BB428

Accessibility & contrast

On white

8.89
#3E5012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3E5012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E5012
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5012#FFFFFF#000000##FFFFFF
##3E50121.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A08
Deuteranopia (green-blind)
#524A17
Tritanopia (blue-blind)
#414C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e5012;
/* rgb */ color: rgb(62, 80, 18);
/* oklch */ color: oklch(40.2% 0.088 124.5);
Tailwind
colors: {
  custom: {
    50: '#768154',
    500: '#3e5012',
    950: '#000000',
  },
}
SCSS
$custom: #3e5012;
$custom-light: #768154;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5012",
  "rgb": {
    "r": 62,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 77.419,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.4024,
    "c": 0.08816,
    "h": 124.5
  },
  "luminance": 0.06805
}

Semantic roles & 50–950 ramp

primary
#3E5012
secondary
#4D3589
accent
#41E671
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#090A03
muted
#7B7C78

Preview Lab

Preview with #3E5012

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

Preview Lab → · Contrast checker → · Palette generator →

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