#3E6712#3E6712

#3E6712 is a mid, vivid yellow-green. Relative luminance 0.108; OKLCH L 46.6% C 0.120 H 132.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3E6712
RGBrgb(62, 103, 18)
HSLhsl(89, 70%, 24%)
HSVhsv(89, 83%, 40%)
CMYKcmyk(39.8%, 0%, 82.5%, 59.6%)
CIE-LABlab(39.19, -28.83, 39.99)
CIE-LCHlch(39.19, 49.30, 125.79°)
OKLaboklab(46.61% -0.0814 0.0886)
OKLCHoklch(46.61% 0.12 132.6)
XYZxyz(6.9459, 10.7680, 2.2846)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6712 #3B1267
analogous
#676512 #3E6712 #136712
triadic
#3E6712 #123E67 #67123E
tetradic
#3E6712 #126765 #3B1267 #671213
square
#3E6712 #126765 #3B1267 #671213
split-complementary
#3E6712 #121367 #651267
monochromatic
#101A05 #1F3309 #3E6712 #5D9B1B #7DCF24

Accessibility & contrast

On white

6.66
#3E6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3E6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6712
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6712#FFFFFF#000000##FFFFFF
##3E67121.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#3F6257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e6712;
/* rgb */ color: rgb(62, 103, 18);
/* oklch */ color: oklch(46.6% 0.120 132.6);
Tailwind
colors: {
  custom: {
    50: '#789258',
    500: '#3e6712',
    950: '#000000',
  },
}
SCSS
$custom: #3e6712;
$custom-light: #789258;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6712",
  "rgb": {
    "r": 62,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 88.941,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46609,
    "c": 0.1203,
    "h": 132.6
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#3E6712
secondary
#69369F
accent
#3BED91
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6712

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

Preview Lab → · Contrast checker → · Palette generator →

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