#5AAF23#5AAF23

#5AAF23 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.187 H 136.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5AAF23
RGBrgb(90, 175, 35)
HSLhsl(96, 67%, 41%)
HSVhsv(96, 80%, 69%)
CMYKcmyk(48.6%, 0%, 80%, 31.4%)
CIE-LABlab(64.12, -48.71, 58.39)
CIE-LCHlch(64.12, 76.04, 129.84°)
OKLaboklab(67.45% -0.1357 0.1293)
OKLCHoklch(67.45% 0.187 136.4)
XYZxyz(19.8492, 32.9536, 6.9045)
Luminance0.3296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF23 #7823AF
analogous
#A0AF23 #5AAF23 #23AF32
triadic
#5AAF23 #235AAF #AF235A
tetradic
#5AAF23 #23A0AF #7823AF #AF3223
square
#5AAF23 #23A0AF #7823AF #AF3223
split-complementary
#5AAF23 #3223AF #AF23A0
monochromatic
#26490F #407C19 #5AAF23 #77D738 #9AE16B

Accessibility & contrast

On white

2.77
#5AAF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#5AAF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAF23
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAF23#FFFFFF#000000##000000
##5AAF231.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#56A895
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5aaf23;
/* rgb */ color: rgb(90, 175, 35);
/* oklch */ color: oklch(67.5% 0.187 136.4);
Tailwind
colors: {
  custom: {
    50: '#91c76a',
    500: '#5aaf23',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf23;
$custom-light: #91c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf23",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 96.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67454,
    "c": 0.18742,
    "h": 136.4
  },
  "luminance": 0.32955
}

Semantic roles & 50–950 ramp

primary
#5AAF23
secondary
#A166C7
accent
#3EEAA6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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