#5B8A24#5B8A24

#5B8A24 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.9% C 0.140 H 131.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5B8A24
RGBrgb(91, 138, 36)
HSLhsl(88, 59%, 34%)
HSVhsv(88, 74%, 54%)
CMYKcmyk(34.1%, 0%, 73.9%, 45.9%)
CIE-LABlab(52.43, -32.66, 46.80)
CIE-LCHlch(52.43, 57.07, 124.91°)
OKLaboklab(57.89% -0.0924 0.1052)
OKLCHoklch(57.89% 0.14 131.3)
XYZxyz(13.7212, 20.5280, 4.9081)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8A24 #53248A
analogous
#8A8624 #5B8A24 #288A24
triadic
#5B8A24 #245B8A #8A245B
tetradic
#5B8A24 #248A86 #53248A #8A2428
square
#5B8A24 #248A86 #53248A #8A2428
split-complementary
#5B8A24 #24288A #86248A
monochromatic
#1B290B #3B5917 #5B8A24 #7BBB31 #99D356

Accessibility & contrast

On white

4.11
#5B8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#5B8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8A24
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8A24#FFFFFF#000000##000000
##5B8A241.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F12
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#5D8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5b8a24;
/* rgb */ color: rgb(91, 138, 36);
/* oklch */ color: oklch(57.9% 0.140 131.3);
Tailwind
colors: {
  custom: {
    50: '#8dac66',
    500: '#5b8a24',
    950: '#000000',
  },
}
SCSS
$custom: #5b8a24;
$custom-light: #8dac66;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8a24",
  "rgb": {
    "r": 91,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 87.647,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.13995,
    "h": 131.3
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#5B8A24
secondary
#8153B7
accent
#46E28E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5B8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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