#5B9E1B#5B9E1B

#5B9E1B is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.0% C 0.170 H 133.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#5B9E1B
RGBrgb(91, 158, 27)
HSLhsl(91, 71%, 36%)
HSVhsv(91, 83%, 62%)
CMYKcmyk(42.4%, 0%, 82.9%, 38%)
CIE-LABlab(58.75, -41.93, 55.76)
CIE-LCHlch(58.75, 69.77, 126.94°)
OKLaboklab(63.04% -0.118 0.1225)
OKLCHoklch(63.04% 0.17 133.9)
XYZxyz(16.7388, 26.7561, 5.3192)
Luminance0.2676 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E1B #5E1B9E
analogous
#9D9E1B #5B9E1B #1B9E1D
triadic
#5B9E1B #1B5B9E #9E1B5B
tetradic
#5B9E1B #1B9D9E #5E1B9E #9E1D1B
square
#5B9E1B #1B9D9E #5E1B9E #9E1D1B
split-complementary
#5B9E1B #1D1B9E #9E1B9D
monochromatic
#1F3509 #3D6A12 #5B9E1B #79D224 #98E152

Accessibility & contrast

On white

3.31
#5B9E1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#5B9E1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E1B
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E1B#FFFFFF#000000##000000
##5B9E1B1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9C8B2B
Tritanopia (blue-blind)
#5A9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9e1b;
/* rgb */ color: rgb(91, 158, 27);
/* oklch */ color: oklch(63.0% 0.170 133.9);
Tailwind
colors: {
  custom: {
    50: '#90bb65',
    500: '#5b9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e1b;
$custom-light: #90bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e1b",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 90.687,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6304,
    "c": 0.17012,
    "h": 133.9
  },
  "luminance": 0.26757
}

Semantic roles & 50–950 ramp

primary
#5B9E1B
secondary
#8C51C4
accent
#3AEE96
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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