#5AAC23#5AAC23

#5AAC23 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 66.7% C 0.184 H 136.1°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5AAC23
RGBrgb(90, 172, 35)
HSLhsl(96, 66%, 41%)
HSVhsv(96, 80%, 67%)
CMYKcmyk(47.7%, 0%, 79.7%, 32.5%)
CIE-LABlab(63.18, -47.54, 57.50)
CIE-LCHlch(63.18, 74.61, 129.58°)
OKLaboklab(66.68% -0.1325 0.1274)
OKLCHoklch(66.68% 0.184 136.1)
XYZxyz(19.2718, 31.7988, 6.7121)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAC23 #7523AC
analogous
#9FAC23 #5AAC23 #23AC30
triadic
#5AAC23 #235AAC #AC235A
tetradic
#5AAC23 #239FAC #7523AC #AC3023
square
#5AAC23 #239FAC #7523AC #AC3023
split-complementary
#5AAC23 #3023AC #AC239F
monochromatic
#25460E #3F7919 #5AAC23 #76D636 #99E069

Accessibility & contrast

On white

2.85
#5AAC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5AAC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAC23
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAC23#FFFFFF#000000##000000
##5AAC231.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#56A593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5aac23;
/* rgb */ color: rgb(90, 172, 35);
/* oklch */ color: oklch(66.7% 0.184 136.1);
Tailwind
colors: {
  custom: {
    50: '#90c56a',
    500: '#5aac23',
    950: '#000000',
  },
}
SCSS
$custom: #5aac23;
$custom-light: #90c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aac23",
  "rgb": {
    "r": 90,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 95.912,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.18385,
    "h": 136.1
  },
  "luminance": 0.318
}

Semantic roles & 50–950 ramp

primary
#5AAC23
secondary
#9F64C6
accent
#3FE9A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAC23

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

Preview Lab → · Contrast checker → · Palette generator →

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