#5E9916#5E9916

#5E9916 is a mid, vivid yellow-green. Relative luminance 0.252; OKLCH L 61.9% C 0.164 H 132.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5E9916
RGBrgb(94, 153, 22)
HSLhsl(87, 75%, 34%)
HSVhsv(87, 86%, 60%)
CMYKcmyk(38.6%, 0%, 85.6%, 40%)
CIE-LABlab(57.29, -38.95, 55.83)
CIE-LCHlch(57.29, 68.07, 124.90°)
OKLaboklab(61.88% -0.1105 0.1219)
OKLCHoklch(61.88% 0.164 132.2)
XYZxyz(16.1520, 25.2193, 4.7757)
Luminance0.2522 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9916 #511699
analogous
#999316 #5E9916 #1D9916
triadic
#5E9916 #165E99 #99165E
tetradic
#5E9916 #169993 #511699 #99161D
square
#5E9916 #169993 #511699 #99161D
split-complementary
#5E9916 #161D99 #931699
monochromatic
#1C2E07 #3D630E #5E9916 #7FCF1E #9DE445

Accessibility & contrast

On white

3.47
#5E9916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#5E9916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9916
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9916#FFFFFF#000000##000000
##5E99161.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08C00
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#5F9282
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5e9916;
/* rgb */ color: rgb(94, 153, 22);
/* oklch */ color: oklch(61.9% 0.164 132.2);
Tailwind
colors: {
  custom: {
    50: '#91b762',
    500: '#5e9916',
    950: '#000000',
  },
}
SCSS
$custom: #5e9916;
$custom-light: #91b762;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9916",
  "rgb": {
    "r": 94,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 87.023,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61878,
    "c": 0.16449,
    "h": 132.2
  },
  "luminance": 0.2522
}

Semantic roles & 50–950 ramp

primary
#5E9916
secondary
#7F46C5
accent
#36F18B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9916

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

Preview Lab → · Contrast checker → · Palette generator →

#5E9916 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva