#5B9F16#5B9F16

#5B9F16 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.173 H 133.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5B9F16
RGBrgb(91, 159, 22)
HSLhsl(90, 76%, 35%)
HSVhsv(90, 86%, 62%)
CMYKcmyk(42.8%, 0%, 86.2%, 37.6%)
CIE-LABlab(59.05, -42.55, 57.31)
CIE-LCHlch(59.05, 71.38, 126.59°)
OKLaboklab(63.28% -0.1199 0.1251)
OKLCHoklch(63.28% 0.173 133.8)
XYZxyz(16.8571, 27.0774, 5.0971)
Luminance0.2708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F16 #5A169F
analogous
#9F9E16 #5B9F16 #169F16
triadic
#5B9F16 #165B9F #9F165B
tetradic
#5B9F16 #169F9E #5A169F #9F1616
square
#5B9F16 #169F9E #5A169F #9F1616
split-complementary
#5B9F16 #16169F #9E169F
monochromatic
#1D3307 #3C690F #5B9F16 #7AD51D #98E64A

Accessibility & contrast

On white

3.27
#5B9F16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5B9F16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F16
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F16#FFFFFF#000000##000000
##5B9F161.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8C28
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f16;
/* rgb */ color: rgb(91, 159, 22);
/* oklch */ color: oklch(63.3% 0.173 133.8);
Tailwind
colors: {
  custom: {
    50: '#90bc63',
    500: '#5b9f16',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f16;
$custom-light: #90bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f16",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 22
  },
  "hsl": {
    "h": 89.781,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63278,
    "c": 0.17329,
    "h": 133.8
  },
  "luminance": 0.27078
}

Semantic roles & 50–950 ramp

primary
#5B9F16
secondary
#884AC7
accent
#36F293
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9F16

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

Preview Lab → · Contrast checker → · Palette generator →

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