#3E8816#3E8816

#3E8816 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.8% C 0.160 H 137.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#3E8816
RGBrgb(62, 136, 22)
HSLhsl(99, 72%, 31%)
HSVhsv(99, 84%, 53%)
CMYKcmyk(54.4%, 0%, 83.8%, 46.7%)
CIE-LABlab(50.32, -42.69, 49.05)
CIE-LCHlch(50.32, 65.02, 131.03°)
OKLaboklab(55.76% -0.1184 0.1082)
OKLCHoklch(55.76% 0.16 137.6)
XYZxyz(10.9352, 18.6895, 3.7901)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8816 #601688
analogous
#778816 #3E8816 #168827
triadic
#3E8816 #163E88 #88163E
tetradic
#3E8816 #167788 #601688 #882716
square
#3E8816 #167788 #601688 #882716
split-complementary
#3E8816 #271688 #881677
monochromatic
#0E1F05 #26530D #3E8816 #56BD1F #73DF39

Accessibility & contrast

On white

4.43
#3E8816 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#3E8816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8816
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8816#FFFFFF#000000##000000
##3E88161.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#388373
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3e8816;
/* rgb */ color: rgb(62, 136, 22);
/* oklch */ color: oklch(55.8% 0.160 137.6);
Tailwind
colors: {
  custom: {
    50: '#7cab5f',
    500: '#3e8816',
    950: '#000000',
  },
}
SCSS
$custom: #3e8816;
$custom-light: #7cab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8816",
  "rgb": {
    "r": 62,
    "g": 136,
    "b": 22
  },
  "hsl": {
    "h": 98.947,
    "s": 72.152,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55763,
    "c": 0.16039,
    "h": 137.6
  },
  "luminance": 0.1869
}

Semantic roles & 50–950 ramp

primary
#3E8816
secondary
#903EBC
accent
#39EFAF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8816

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

Preview Lab → · Contrast checker → · Palette generator →

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