#3E8012#3E8012

#3E8012 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.5% C 0.152 H 136.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3E8012
RGBrgb(62, 128, 18)
HSLhsl(96, 75%, 29%)
HSVhsv(96, 86%, 50%)
CMYKcmyk(51.6%, 0%, 85.9%, 49.8%)
CIE-LABlab(47.63, -39.70, 47.73)
CIE-LCHlch(47.63, 62.08, 129.75°)
OKLaboklab(53.54% -0.1106 0.1048)
OKLCHoklch(53.54% 0.152 136.5)
XYZxyz(9.8147, 16.5055, 3.2408)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8012 #541280
analogous
#758012 #3E8012 #12801D
triadic
#3E8012 #123E80 #80123E
tetradic
#3E8012 #127580 #541280 #801D12
square
#3E8012 #127580 #541280 #801D12
split-complementary
#3E8012 #1D1280 #801275
monochromatic
#0D1B04 #244A0A #3E8012 #58B61A #74E12B

Accessibility & contrast

On white

4.88
#3E8012 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#3E8012 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E8012
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8012#FFFFFF#000000##FFFFFF
##3E80121.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857400
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#3A7B6C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3e8012;
/* rgb */ color: rgb(62, 128, 18);
/* oklch */ color: oklch(53.5% 0.152 136.5);
Tailwind
colors: {
  custom: {
    50: '#7ba55c',
    500: '#3e8012',
    950: '#000000',
  },
}
SCSS
$custom: #3e8012;
$custom-light: #7ba55c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8012",
  "rgb": {
    "r": 62,
    "g": 128,
    "b": 18
  },
  "hsl": {
    "h": 96,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.5354,
    "c": 0.15239,
    "h": 136.5
  },
  "luminance": 0.16506
}

Semantic roles & 50–950 ramp

primary
#3E8012
secondary
#8338B6
accent
#36F2A7
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3E8012

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

Preview Lab → · Contrast checker → · Palette generator →

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