#5B9F24#5B9F24

#5B9F24 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.4% C 0.167 H 134.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5B9F24
RGBrgb(91, 159, 36)
HSLhsl(93, 63%, 38%)
HSVhsv(93, 77%, 62%)
CMYKcmyk(42.8%, 0%, 77.4%, 37.6%)
CIE-LABlab(59.11, -41.87, 53.35)
CIE-LCHlch(59.11, 67.81, 128.13°)
OKLaboklab(63.35% -0.1173 0.1188)
OKLCHoklch(63.35% 0.167 134.6)
XYZxyz(17.0306, 27.1469, 6.0112)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F24 #68249F
analogous
#989F24 #5B9F24 #249F2B
triadic
#5B9F24 #245B9F #9F245B
tetradic
#5B9F24 #24989F #68249F #9F2B24
square
#5B9F24 #24989F #68249F #9F2B24
split-complementary
#5B9F24 #2B249F #9F2498
monochromatic
#223B0D #3E6D19 #5B9F24 #78D030 #98DB62

Accessibility & contrast

On white

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

On black

6.43
#5B9F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F24
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F24#FFFFFF#000000##000000
##5B9F241.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59205
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#5A9988
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f24;
/* rgb */ color: rgb(91, 159, 36);
/* oklch */ color: oklch(63.4% 0.167 134.6);
Tailwind
colors: {
  custom: {
    50: '#8fbc69',
    500: '#5b9f24',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f24;
$custom-light: #8fbc69;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f24",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 36
  },
  "hsl": {
    "h": 93.171,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.16697,
    "h": 134.6
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

primary
#5B9F24
secondary
#955EC1
accent
#42E69D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9F24

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

Preview Lab → · Contrast checker → · Palette generator →

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