#5A8A24#5A8A24

#5A8A24 is a mid, vivid yellow-green. Relative luminance 0.205; OKLCH L 57.8% C 0.141 H 131.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5A8A24
RGBrgb(90, 138, 36)
HSLhsl(88, 59%, 34%)
HSVhsv(88, 74%, 54%)
CMYKcmyk(34.8%, 0%, 73.9%, 45.9%)
CIE-LABlab(52.37, -33.04, 46.73)
CIE-LCHlch(52.37, 57.23, 125.27°)
OKLaboklab(57.83% -0.0933 0.105)
OKLCHoklch(57.83% 0.141 131.6)
XYZxyz(13.6232, 20.4775, 4.9035)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A8A24 #54248A
analogous
#8A8724 #5A8A24 #278A24
triadic
#5A8A24 #245A8A #8A245A
tetradic
#5A8A24 #248A87 #54248A #8A2427
square
#5A8A24 #248A87 #54248A #8A2427
split-complementary
#5A8A24 #24278A #87248A
monochromatic
#1B290B #3A5917 #5A8A24 #7ABB31 #98D356

Accessibility & contrast

On white

4.12
#5A8A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5A8A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A8A24
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A8A24#FFFFFF#000000##000000
##5A8A241.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a8a24;
/* rgb */ color: rgb(90, 138, 36);
/* oklch */ color: oklch(57.8% 0.141 131.6);
Tailwind
colors: {
  custom: {
    50: '#8dac66',
    500: '#5a8a24',
    950: '#000000',
  },
}
SCSS
$custom: #5a8a24;
$custom-light: #8dac66;
$custom-dark: #000000;
JSON
{
  "hex": "#5a8a24",
  "rgb": {
    "r": 90,
    "g": 138,
    "b": 36
  },
  "hsl": {
    "h": 88.235,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.1405,
    "h": 131.6
  },
  "luminance": 0.20478
}

Semantic roles & 50–950 ramp

primary
#5A8A24
secondary
#8253B7
accent
#46E28F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1006
muted
#7D7F7A

Preview Lab

Preview with #5A8A24

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

Preview Lab → · Contrast checker → · Palette generator →

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