#3E7212#3E7212

#3E7212 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.135 H 134.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#3E7212
RGBrgb(62, 114, 18)
HSLhsl(93, 73%, 26%)
HSVhsv(93, 84%, 45%)
CMYKcmyk(45.6%, 0%, 84.2%, 55.3%)
CIE-LABlab(42.92, -33.80, 43.45)
CIE-LCHlch(42.92, 55.05, 127.88°)
OKLaboklab(49.66% -0.0948 0.0958)
OKLCHoklch(49.66% 0.135 134.7)
XYZxyz(8.1129, 13.1020, 2.6736)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7212 #461272
analogous
#6E7212 #3E7212 #127216
triadic
#3E7212 #123E72 #72123E
tetradic
#3E7212 #126E72 #461272 #721612
square
#3E7212 #126E72 #461272 #721612
split-complementary
#3E7212 #161272 #72126E
monochromatic
#0E1A04 #213D0A #3E7212 #5BA71A #77DC23

Accessibility & contrast

On white

5.80
#3E7212 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#3E7212 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7212
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7212#FFFFFF#000000##FFFFFF
##3E72121.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#3D6D61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e7212;
/* rgb */ color: rgb(62, 114, 18);
/* oklch */ color: oklch(49.7% 0.135 134.7);
Tailwind
colors: {
  custom: {
    50: '#799b5a',
    500: '#3e7212',
    950: '#000000',
  },
}
SCSS
$custom: #3e7212;
$custom-light: #799b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7212",
  "rgb": {
    "r": 62,
    "g": 114,
    "b": 18
  },
  "hsl": {
    "h": 92.5,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49664,
    "c": 0.13479,
    "h": 134.7
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#3E7212
secondary
#7537A9
accent
#38EF9C
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3E7212

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

Preview Lab → · Contrast checker → · Palette generator →

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