#3E8A17#3E8A17

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

Color values

HEX#3E8A17
RGBrgb(62, 138, 23)
HSLhsl(100, 71%, 32%)
HSVhsv(100, 83%, 54%)
CMYKcmyk(55.1%, 0%, 83.3%, 45.9%)
CIE-LABlab(50.99, -43.42, 49.37)
CIE-LCHlch(50.99, 65.75, 131.33°)
OKLaboklab(56.32% -0.1203 0.109)
OKLCHoklch(56.32% 0.162 137.8)
XYZxyz(11.2294, 19.2621, 3.9367)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8A17 #63178A
analogous
#788A17 #3E8A17 #178A29
triadic
#3E8A17 #173E8A #8A173E
tetradic
#3E8A17 #17788A #63178A #8A2917
square
#3E8A17 #17788A #63178A #8A2917
split-complementary
#3E8A17 #29178A #8A1778
monochromatic
#0F2106 #26560E #3E8A17 #56BE20 #74DF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E8A17#FFFFFF#000000##000000
##3E8A171.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)
#857725
Tritanopia (blue-blind)
#388575
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3e8a17;
/* rgb */ color: rgb(62, 138, 23);
/* oklch */ color: oklch(56.3% 0.162 137.8);
Tailwind
colors: {
  custom: {
    50: '#7cad5f',
    500: '#3e8a17',
    950: '#000000',
  },
}
SCSS
$custom: #3e8a17;
$custom-light: #7cad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8a17",
  "rgb": {
    "r": 62,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 99.652,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56317,
    "c": 0.16236,
    "h": 137.8
  },
  "luminance": 0.19263
}

Semantic roles & 50–950 ramp

primary
#3E8A17
secondary
#933FBE
accent
#3AEEB1
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8A17

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

Preview Lab → · Contrast checker → · Palette generator →

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