#5B9F1D#5B9F1D

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

Color values

HEX#5B9F1D
RGBrgb(91, 159, 29)
HSLhsl(91, 69%, 37%)
HSVhsv(91, 82%, 62%)
CMYKcmyk(42.8%, 0%, 81.8%, 37.6%)
CIE-LABlab(59.07, -42.25, 55.50)
CIE-LCHlch(59.07, 69.75, 127.28°)
OKLaboklab(63.31% -0.1187 0.1223)
OKLCHoklch(63.31% 0.17 134.2)
XYZxyz(16.9340, 27.1082, 5.5023)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F1D #611D9F
analogous
#9C9F1D #5B9F1D #1D9F20
triadic
#5B9F1D #1D5B9F #9F1D5B
tetradic
#5B9F1D #1D9C9F #611D9F #9F201D
square
#5B9F1D #1D9C9F #611D9F #9F201D
split-complementary
#5B9F1D #201D9F #9F1D9C
monochromatic
#20370A #3D6B14 #5B9F1D #79D326 #98E056

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9F1D#FFFFFF#000000##000000
##5B9F1D1.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)
#A59200
Deuteranopia (green-blind)
#9C8C2C
Tritanopia (blue-blind)
#5A9987
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f1d;
/* rgb */ color: rgb(91, 159, 29);
/* oklch */ color: oklch(63.3% 0.170 134.2);
Tailwind
colors: {
  custom: {
    50: '#90bc65',
    500: '#5b9f1d',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f1d;
$custom-light: #90bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f1d",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 29
  },
  "hsl": {
    "h": 91.385,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63311,
    "c": 0.17046,
    "h": 134.2
  },
  "luminance": 0.27109
}

Semantic roles & 50–950 ramp

primary
#5B9F1D
secondary
#8E54C4
accent
#3CEC98
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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