#5F9916#5F9916

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

Color values

HEX#5F9916
RGBrgb(95, 153, 22)
HSLhsl(87, 75%, 34%)
HSVhsv(87, 86%, 60%)
CMYKcmyk(37.9%, 0%, 85.6%, 40%)
CIE-LABlab(57.34, -38.58, 55.89)
CIE-LCHlch(57.34, 67.92, 124.62°)
OKLaboklab(61.93% -0.1096 0.122)
OKLCHoklch(61.93% 0.164 131.9)
XYZxyz(16.2552, 25.2726, 4.7805)
Luminance0.2527 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9916 #501699
analogous
#999216 #5F9916 #1E9916
triadic
#5F9916 #165F99 #99165F
tetradic
#5F9916 #169992 #501699 #99161E
square
#5F9916 #169992 #501699 #99161E
split-complementary
#5F9916 #161E99 #921699
monochromatic
#1D2E07 #3E630E #5F9916 #80CF1E #9EE445

Accessibility & contrast

On white

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

On black

6.05
#5F9916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9916
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9916#FFFFFF#000000##000000
##5F99161.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#609282
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9916;
/* rgb */ color: rgb(95, 153, 22);
/* oklch */ color: oklch(61.9% 0.164 131.9);
Tailwind
colors: {
  custom: {
    50: '#92b762',
    500: '#5f9916',
    950: '#000000',
  },
}
SCSS
$custom: #5f9916;
$custom-light: #92b762;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9916",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 86.565,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.61934,
    "c": 0.16395,
    "h": 131.9
  },
  "luminance": 0.25273
}

Semantic roles & 50–950 ramp

primary
#5F9916
secondary
#7E46C5
accent
#36F189
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9916

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

Preview Lab → · Contrast checker → · Palette generator →

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