#3E6612#3E6612

#3E6612 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.3% C 0.119 H 132.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3E6612
RGBrgb(62, 102, 18)
HSLhsl(89, 70%, 24%)
HSVhsv(89, 82%, 40%)
CMYKcmyk(39.2%, 0%, 82.4%, 60%)
CIE-LABlab(38.85, -28.36, 39.67)
CIE-LCHlch(38.85, 48.76, 125.57°)
OKLaboklab(46.33% -0.0802 0.0879)
OKLCHoklch(46.33% 0.119 132.4)
XYZxyz(6.8471, 10.5702, 2.2516)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6612 #3A1266
analogous
#666412 #3E6612 #146612
triadic
#3E6612 #123E66 #66123E
tetradic
#3E6612 #126664 #3A1266 #661214
square
#3E6612 #126664 #3A1266 #661214
split-complementary
#3E6612 #121466 #641266
monochromatic
#101A05 #1E3209 #3E6612 #5E9A1B #7DCE24

Accessibility & contrast

On white

6.74
#3E6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3E6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6612
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6612#FFFFFF#000000##FFFFFF
##3E66121.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#3F6156
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e6612;
/* rgb */ color: rgb(62, 102, 18);
/* oklch */ color: oklch(46.3% 0.119 132.4);
Tailwind
colors: {
  custom: {
    50: '#779258',
    500: '#3e6612',
    950: '#000000',
  },
}
SCSS
$custom: #3e6612;
$custom-light: #779258;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6612",
  "rgb": {
    "r": 62,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 88.571,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46331,
    "c": 0.11895,
    "h": 132.4
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#3E6612
secondary
#67369E
accent
#3BED90
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6612

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

Preview Lab → · Contrast checker → · Palette generator →

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