#3E7E12#3E7E12

#3E7E12 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.0% C 0.150 H 136.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#3E7E12
RGBrgb(62, 126, 18)
HSLhsl(96, 75%, 28%)
HSVhsv(96, 86%, 49%)
CMYKcmyk(50.8%, 0%, 85.7%, 50.6%)
CIE-LABlab(46.96, -38.88, 47.12)
CIE-LCHlch(46.96, 61.09, 129.52°)
OKLaboklab(52.99% -0.1084 0.1036)
OKLCHoklch(52.99% 0.15 136.3)
XYZxyz(9.5564, 15.9889, 3.1547)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7E12 #52127E
analogous
#747E12 #3E7E12 #127E1C
triadic
#3E7E12 #123E7E #7E123E
tetradic
#3E7E12 #12747E #52127E #7E1C12
square
#3E7E12 #12747E #52127E #7E1C12
split-complementary
#3E7E12 #1C127E #7E1274
monochromatic
#0D1B04 #24480A #3E7E12 #58B41A #74E12A

Accessibility & contrast

On white

5.00
#3E7E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3E7E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7E12
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7E12#FFFFFF#000000##FFFFFF
##3E7E121.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#3B796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3e7e12;
/* rgb */ color: rgb(62, 126, 18);
/* oklch */ color: oklch(53.0% 0.150 136.3);
Tailwind
colors: {
  custom: {
    50: '#7ba45c',
    500: '#3e7e12',
    950: '#000000',
  },
}
SCSS
$custom: #3e7e12;
$custom-light: #7ba45c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7e12",
  "rgb": {
    "r": 62,
    "g": 126,
    "b": 18
  },
  "hsl": {
    "h": 95.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52987,
    "c": 0.14992,
    "h": 136.3
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#3E7E12
secondary
#8138B4
accent
#36F2A5
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F04
muted
#7C7F79

Preview Lab

Preview with #3E7E12

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

Preview Lab → · Contrast checker → · Palette generator →

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