#3E8A12#3E8A12

#3E8A12 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.3% C 0.164 H 137.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3E8A12
RGBrgb(62, 138, 18)
HSLhsl(98, 77%, 31%)
HSVhsv(98, 87%, 54%)
CMYKcmyk(55.1%, 0%, 87%, 45.9%)
CIE-LABlab(50.97, -43.66, 50.70)
CIE-LCHlch(50.97, 66.91, 130.73°)
OKLaboklab(56.29% -0.1212 0.1111)
OKLCHoklch(56.29% 0.164 137.5)
XYZxyz(11.1839, 19.2439, 3.6972)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8A12 #5E128A
analogous
#7A8A12 #3E8A12 #128A22
triadic
#3E8A12 #123E8A #8A123E
tetradic
#3E8A12 #127A8A #5E128A #8A2212
square
#3E8A12 #127A8A #5E128A #8A2212
split-complementary
#3E8A12 #22128A #8A127A
monochromatic
#0D1E04 #26540B #3E8A12 #56C019 #73E432

Accessibility & contrast

On white

4.33
#3E8A12 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#3E8A12 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8A12
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8A12#FFFFFF#000000##000000
##3E8A121.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#388575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3e8a12;
/* rgb */ color: rgb(62, 138, 18);
/* oklch */ color: oklch(56.3% 0.164 137.5);
Tailwind
colors: {
  custom: {
    50: '#7cad5e',
    500: '#3e8a12',
    950: '#000000',
  },
}
SCSS
$custom: #3e8a12;
$custom-light: #7cad5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8a12",
  "rgb": {
    "r": 62,
    "g": 138,
    "b": 18
  },
  "hsl": {
    "h": 98,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.16442,
    "h": 137.5
  },
  "luminance": 0.19245
}

Semantic roles & 50–950 ramp

primary
#3E8A12
secondary
#8E39BF
accent
#34F3AD
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8A12

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

Preview Lab → · Contrast checker → · Palette generator →

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