#3E8A16#3E8A16

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

Color values

HEX#3E8A16
RGBrgb(62, 138, 22)
HSLhsl(99, 73%, 31%)
HSVhsv(99, 84%, 54%)
CMYKcmyk(55.1%, 0%, 84.1%, 45.9%)
CIE-LABlab(50.99, -43.47, 49.65)
CIE-LCHlch(50.99, 65.99, 131.20°)
OKLaboklab(56.31% -0.1205 0.1095)
OKLCHoklch(56.31% 0.163 137.7)
XYZxyz(11.2195, 19.2581, 3.8849)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E8A16 #62168A
analogous
#788A16 #3E8A16 #168A28
triadic
#3E8A16 #163E8A #8A163E
tetradic
#3E8A16 #16788A #62168A #8A2816
square
#3E8A16 #16788A #62168A #8A2816
split-complementary
#3E8A16 #28168A #8A1678
monochromatic
#0F2005 #26550E #3E8A16 #56BF1E #74E03B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E8A16#FFFFFF#000000##000000
##3E8A161.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: #3e8a16;
/* rgb */ color: rgb(62, 138, 22);
/* oklch */ color: oklch(56.3% 0.163 137.7);
Tailwind
colors: {
  custom: {
    50: '#7cad5f',
    500: '#3e8a16',
    950: '#000000',
  },
}
SCSS
$custom: #3e8a16;
$custom-light: #7cad5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e8a16",
  "rgb": {
    "r": 62,
    "g": 138,
    "b": 22
  },
  "hsl": {
    "h": 99.31,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.56312,
    "c": 0.1628,
    "h": 137.7
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

primary
#3E8A16
secondary
#923EBE
accent
#39EFB0
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3E8A16

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

Preview Lab → · Contrast checker → · Palette generator →

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