#3E8B17#3E8B17

#3E8B17 is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.6% C 0.164 H 137.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3E8B17
RGBrgb(62, 139, 23)
HSLhsl(100, 72%, 32%)
HSVhsv(100, 83%, 55%)
CMYKcmyk(55.4%, 0%, 83.5%, 45.5%)
CIE-LABlab(51.32, -43.80, 49.68)
CIE-LCHlch(51.32, 66.23, 131.41°)
OKLaboklab(56.59% -0.1213 0.1097)
OKLCHoklch(56.59% 0.164 137.9)
XYZxyz(11.3735, 19.5503, 3.9847)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8B17 #64178B
analogous
#788B17 #3E8B17 #178B2A
triadic
#3E8B17 #173E8B #8B173E
tetradic
#3E8B17 #17788B #64178B #8B2A17
square
#3E8B17 #17788B #64178B #8B2A17
split-complementary
#3E8B17 #2A178B #8B1778
monochromatic
#0F2206 #27560E #3E8B17 #55C020 #74DF3D

Accessibility & contrast

On white

4.28
#3E8B17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3E8B17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3E8B17
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E8B17#FFFFFF#000000##000000
##3E8B171.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#867825
Tritanopia (blue-blind)
#388676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3e8b17;
/* rgb */ color: rgb(62, 139, 23);
/* oklch */ color: oklch(56.6% 0.164 137.9);
Tailwind
colors: {
  custom: {
    50: '#7cae60',
    500: '#3e8b17',
    950: '#000000',
  },
}
SCSS
$custom: #3e8b17;
$custom-light: #7cae60;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8b17",
  "rgb": {
    "r": 62,
    "g": 139,
    "b": 23
  },
  "hsl": {
    "h": 99.828,
    "s": 71.605,
    "l": 31.765
  },
  "oklch": {
    "l": 0.56591,
    "c": 0.16356,
    "h": 137.9
  },
  "luminance": 0.19551
}

Semantic roles & 50–950 ramp

primary
#3E8B17
secondary
#943FBF
accent
#39EEB2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8B17

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

Preview Lab → · Contrast checker → · Palette generator →

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