#3E8817#3E8817

#3E8817 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#3E8817
RGBrgb(62, 136, 23)
HSLhsl(99, 71%, 31%)
HSVhsv(99, 83%, 53%)
CMYKcmyk(54.4%, 0%, 83.1%, 46.7%)
CIE-LABlab(50.33, -42.64, 48.76)
CIE-LCHlch(50.33, 64.77, 131.17°)
OKLaboklab(55.77% -0.1182 0.1078)
OKLCHoklch(55.77% 0.16 137.6)
XYZxyz(10.9450, 18.6935, 3.8419)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8817 #611788
analogous
#768817 #3E8817 #178828
triadic
#3E8817 #173E88 #88173E
tetradic
#3E8817 #177688 #611788 #882817
square
#3E8817 #177688 #611788 #882817
split-complementary
#3E8817 #281788 #881776
monochromatic
#0E1F05 #26540E #3E8817 #56BC20 #74DE3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E8817#FFFFFF#000000##000000
##3E88171.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)
#837525
Tritanopia (blue-blind)
#388374
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3e8817;
/* rgb */ color: rgb(62, 136, 23);
/* oklch */ color: oklch(55.8% 0.160 137.6);
Tailwind
colors: {
  custom: {
    50: '#7cab5f',
    500: '#3e8817',
    950: '#000000',
  },
}
SCSS
$custom: #3e8817;
$custom-light: #7cab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8817",
  "rgb": {
    "r": 62,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 99.292,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.15994,
    "h": 137.6
  },
  "luminance": 0.18694
}

Semantic roles & 50–950 ramp

primary
#3E8817
secondary
#913FBC
accent
#3AEEB0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8817

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

Preview Lab → · Contrast checker → · Palette generator →

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