#5B9D1D#5B9D1D

#5B9D1D is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 62.8% C 0.168 H 133.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5B9D1D
RGBrgb(91, 157, 29)
HSLhsl(91, 69%, 36%)
HSVhsv(91, 82%, 62%)
CMYKcmyk(42%, 0%, 81.5%, 38.4%)
CIE-LABlab(58.44, -41.41, 54.91)
CIE-LCHlch(58.44, 68.78, 127.02°)
OKLaboklab(62.79% -0.1165 0.1211)
OKLCHoklch(62.79% 0.168 133.9)
XYZxyz(16.5928, 26.4259, 5.3886)
Luminance0.2643 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9D1D #5F1D9D
analogous
#9B9D1D #5B9D1D #1D9D1F
triadic
#5B9D1D #1D5B9D #9D1D5B
tetradic
#5B9D1D #1D9B9D #5F1D9D #9D1F1D
square
#5B9D1D #1D9B9D #5F1D9D #9D1F1D
split-complementary
#5B9D1D #1F1D9D #9D1D9B
monochromatic
#1F360A #3D6913 #5B9D1D #79D127 #98E055

Accessibility & contrast

On white

3.34
#5B9D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5B9D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9D1D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9D1D#FFFFFF#000000##000000
##5B9D1D1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#5A9786
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5b9d1d;
/* rgb */ color: rgb(91, 157, 29);
/* oklch */ color: oklch(62.8% 0.168 133.9);
Tailwind
colors: {
  custom: {
    50: '#90ba65',
    500: '#5b9d1d',
    950: '#000000',
  },
}
SCSS
$custom: #5b9d1d;
$custom-light: #90ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9d1d",
  "rgb": {
    "r": 91,
    "g": 157,
    "b": 29
  },
  "hsl": {
    "h": 90.938,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6279,
    "c": 0.16801,
    "h": 133.9
  },
  "luminance": 0.26427
}

Semantic roles & 50–950 ramp

primary
#5B9D1D
secondary
#8D53C3
accent
#3CEC97
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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