#5B9D24#5B9D24

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

Color values

HEX#5B9D24
RGBrgb(91, 157, 36)
HSLhsl(93, 63%, 38%)
HSVhsv(93, 77%, 62%)
CMYKcmyk(42%, 0%, 77.1%, 38.4%)
CIE-LABlab(58.48, -41.03, 52.73)
CIE-LCHlch(58.48, 66.81, 127.88°)
OKLaboklab(62.83% -0.115 0.1176)
OKLCHoklch(62.83% 0.164 134.4)
XYZxyz(16.6895, 26.4646, 5.8975)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9D24 #66249D
analogous
#979D24 #5B9D24 #249D29
triadic
#5B9D24 #245B9D #9D245B
tetradic
#5B9D24 #24979D #66249D #9D2924
square
#5B9D24 #24979D #66249D #9D2924
split-complementary
#5B9D24 #29249D #9D2497
monochromatic
#21390D #3E6B19 #5B9D24 #78CF2F #98DB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9D24#FFFFFF#000000##000000
##5B9D241.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)
#A39006
Deuteranopia (green-blind)
#9A8B31
Tritanopia (blue-blind)
#5A9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9d24;
/* rgb */ color: rgb(91, 157, 36);
/* oklch */ color: oklch(62.8% 0.164 134.4);
Tailwind
colors: {
  custom: {
    50: '#8fba68',
    500: '#5b9d24',
    950: '#000000',
  },
}
SCSS
$custom: #5b9d24;
$custom-light: #8fba68;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9d24",
  "rgb": {
    "r": 91,
    "g": 157,
    "b": 36
  },
  "hsl": {
    "h": 92.727,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62831,
    "c": 0.16447,
    "h": 134.4
  },
  "luminance": 0.26465
}

Semantic roles & 50–950 ramp

primary
#5B9D24
secondary
#935DC0
accent
#42E69B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9D24

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

Preview Lab → · Contrast checker → · Palette generator →

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