#5B9824#5B9824

#5B9824 is a mid, vivid yellow-green. Relative luminance 0.248; OKLCH L 61.5% C 0.158 H 133.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5B9824
RGBrgb(91, 152, 36)
HSLhsl(92, 62%, 37%)
HSVhsv(92, 76%, 60%)
CMYKcmyk(40.1%, 0%, 76.3%, 40.4%)
CIE-LABlab(56.89, -38.89, 51.20)
CIE-LCHlch(56.89, 64.29, 127.22°)
OKLaboklab(61.53% -0.1092 0.1144)
OKLCHoklch(61.53% 0.158 133.7)
XYZxyz(15.8608, 24.8072, 5.6213)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9824 #612498
analogous
#959824 #5B9824 #249827
triadic
#5B9824 #245B98 #98245B
tetradic
#5B9824 #249598 #612498 #982724
square
#5B9824 #249598 #612498 #982724
split-complementary
#5B9824 #272498 #982495
monochromatic
#20350D #3D6718 #5B9824 #79C930 #98D95E

Accessibility & contrast

On white

3.52
#5B9824 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#5B9824 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9824
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9824#FFFFFF#000000##000000
##5B98241.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C0A
Deuteranopia (green-blind)
#968730
Tritanopia (blue-blind)
#5B9282
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b9824;
/* rgb */ color: rgb(91, 152, 36);
/* oklch */ color: oklch(61.5% 0.158 133.7);
Tailwind
colors: {
  custom: {
    50: '#8fb768',
    500: '#5b9824',
    950: '#000000',
  },
}
SCSS
$custom: #5b9824;
$custom-light: #8fb768;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9824",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 36
  },
  "hsl": {
    "h": 91.552,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61531,
    "c": 0.15815,
    "h": 133.7
  },
  "luminance": 0.24808
}

Semantic roles & 50–950 ramp

primary
#5B9824
secondary
#8E5ABE
accent
#43E598
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9824

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

Preview Lab → · Contrast checker → · Palette generator →

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