#5AAF28#5AAF28

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

Color values

HEX#5AAF28
RGBrgb(90, 175, 40)
HSLhsl(98, 63%, 42%)
HSVhsv(98, 77%, 69%)
CMYKcmyk(48.6%, 0%, 77.1%, 31.4%)
CIE-LABlab(64.15, -48.43, 56.85)
CIE-LCHlch(64.15, 74.68, 130.43°)
OKLaboklab(67.48% -0.1346 0.1268)
OKLCHoklch(67.48% 0.185 136.7)
XYZxyz(19.9288, 32.9854, 7.3238)
Luminance0.3299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF28 #7D28AF
analogous
#9EAF28 #5AAF28 #28AF3A
triadic
#5AAF28 #285AAF #AF285A
tetradic
#5AAF28 #289EAF #7D28AF #AF3A28
square
#5AAF28 #289EAF #7D28AF #AF3A28
split-complementary
#5AAF28 #3A28AF #AF289E
monochromatic
#274B11 #407D1D #5AAF28 #77D441 #9BDF73

Accessibility & contrast

On white

2.76
#5AAF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#5AAF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAF28
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAF28#FFFFFF#000000##000000
##5AAF281.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A004
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#55A896
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5aaf28;
/* rgb */ color: rgb(90, 175, 40);
/* oklch */ color: oklch(67.5% 0.185 136.7);
Tailwind
colors: {
  custom: {
    50: '#91c76c',
    500: '#5aaf28',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf28;
$custom-light: #91c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf28",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 97.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67484,
    "c": 0.18493,
    "h": 136.7
  },
  "luminance": 0.32987
}

Semantic roles & 50–950 ramp

primary
#5AAF28
secondary
#A56DC6
accent
#42E6A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAF28

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

Preview Lab → · Contrast checker → · Palette generator →

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