#5B9724#5B9724

#5B9724 is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.3% C 0.157 H 133.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5B9724
RGBrgb(91, 151, 36)
HSLhsl(91, 61%, 37%)
HSVhsv(91, 76%, 59%)
CMYKcmyk(39.7%, 0%, 76.2%, 40.8%)
CIE-LABlab(56.57, -38.46, 50.89)
CIE-LCHlch(56.57, 63.79, 127.08°)
OKLaboklab(61.27% -0.1081 0.1137)
OKLCHoklch(61.27% 0.157 133.6)
XYZxyz(15.6992, 24.4840, 5.5674)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9724 #602497
analogous
#959724 #5B9724 #249726
triadic
#5B9724 #245B97 #97245B
tetradic
#5B9724 #249597 #602497 #972624
square
#5B9724 #249597 #602497 #972624
split-complementary
#5B9724 #262497 #972495
monochromatic
#1F340C #3D6618 #5B9724 #79C830 #98D85D

Accessibility & contrast

On white

3.56
#5B9724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#5B9724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9724
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9724#FFFFFF#000000##000000
##5B97241.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B0B
Deuteranopia (green-blind)
#958630
Tritanopia (blue-blind)
#5B9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b9724;
/* rgb */ color: rgb(91, 151, 36);
/* oklch */ color: oklch(61.3% 0.157 133.6);
Tailwind
colors: {
  custom: {
    50: '#8fb667',
    500: '#5b9724',
    950: '#000000',
  },
}
SCSS
$custom: #5b9724;
$custom-light: #8fb667;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9724",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 91.304,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6127,
    "c": 0.15688,
    "h": 133.6
  },
  "luminance": 0.24485
}

Semantic roles & 50–950 ramp

primary
#5B9724
secondary
#8E5ABD
accent
#43E597
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9724

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

Preview Lab → · Contrast checker → · Palette generator →

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