#5AAA24#5AAA24

#5AAA24 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.2% C 0.181 H 136.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5AAA24
RGBrgb(90, 170, 36)
HSLhsl(96, 65%, 40%)
HSVhsv(96, 79%, 67%)
CMYKcmyk(47.1%, 0%, 78.8%, 33.3%)
CIE-LABlab(62.55, -46.69, 56.61)
CIE-LCHlch(62.55, 73.38, 129.51°)
OKLaboklab(66.16% -0.1302 0.1257)
OKLCHoklch(66.16% 0.181 136)
XYZxyz(18.9091, 31.0493, 6.6654)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA24 #7424AA
analogous
#9DAA24 #5AAA24 #24AA31
triadic
#5AAA24 #245AAA #AA245A
tetradic
#5AAA24 #249DAA #7424AA #AA3124
square
#5AAA24 #249DAA #7424AA #AA3124
split-complementary
#5AAA24 #3124AA #AA249D
monochromatic
#25450F #3F7719 #5AAA24 #76D537 #99DF69

Accessibility & contrast

On white

2.91
#5AAA24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5AAA24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA24
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA24#FFFFFF#000000##000000
##5AAA241.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#57A491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa24;
/* rgb */ color: rgb(90, 170, 36);
/* oklch */ color: oklch(66.2% 0.181 136.0);
Tailwind
colors: {
  custom: {
    50: '#90c46a',
    500: '#5aaa24',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa24;
$custom-light: #90c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa24",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 36
  },
  "hsl": {
    "h": 95.821,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66162,
    "c": 0.18096,
    "h": 136
  },
  "luminance": 0.3105
}

Semantic roles & 50–950 ramp

primary
#5AAA24
secondary
#9E65C5
accent
#40E8A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAA24

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

Preview Lab → · Contrast checker → · Palette generator →

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