#5B9E1D#5B9E1D

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

Color values

HEX#5B9E1D
RGBrgb(91, 158, 29)
HSLhsl(91, 69%, 37%)
HSVhsv(91, 82%, 62%)
CMYKcmyk(42.4%, 0%, 81.6%, 38%)
CIE-LABlab(58.76, -41.83, 55.21)
CIE-LCHlch(58.76, 69.26, 127.15°)
OKLaboklab(63.05% -0.1176 0.1217)
OKLCHoklch(63.05% 0.169 134)
XYZxyz(16.7627, 26.7657, 5.4452)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E1D #601D9E
analogous
#9C9E1D #5B9E1D #1D9E20
triadic
#5B9E1D #1D5B9E #9E1D5B
tetradic
#5B9E1D #1D9C9E #601D9E #9E201D
square
#5B9E1D #1D9C9E #601D9E #9E201D
split-complementary
#5B9E1D #201D9E #9E1D9C
monochromatic
#1F370A #3D6A14 #5B9E1D #79D226 #98E056

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9E1D#FFFFFF#000000##000000
##5B9E1D1.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)
#9B8B2C
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9e1d;
/* rgb */ color: rgb(91, 158, 29);
/* oklch */ color: oklch(63.0% 0.169 134.0);
Tailwind
colors: {
  custom: {
    50: '#90bb65',
    500: '#5b9e1d',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e1d;
$custom-light: #90bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e1d",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 29
  },
  "hsl": {
    "h": 91.163,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6305,
    "c": 0.16923,
    "h": 134
  },
  "luminance": 0.26767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B9E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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