#5AAF26#5AAF26

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

Color values

HEX#5AAF26
RGBrgb(90, 175, 38)
HSLhsl(97, 64%, 42%)
HSVhsv(97, 78%, 69%)
CMYKcmyk(48.6%, 0%, 78.3%, 31.4%)
CIE-LABlab(64.14, -48.55, 57.48)
CIE-LCHlch(64.14, 75.24, 130.18°)
OKLaboklab(67.47% -0.1351 0.1278)
OKLCHoklch(67.47% 0.186 136.6)
XYZxyz(19.8957, 32.9722, 7.1492)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF26 #7B26AF
analogous
#9FAF26 #5AAF26 #26AF36
triadic
#5AAF26 #265AAF #AF265A
tetradic
#5AAF26 #269FAF #7B26AF #AF3626
square
#5AAF26 #269FAF #7B26AF #AF3626
split-complementary
#5AAF26 #3626AF #AF269F
monochromatic
#264A10 #407D1B #5AAF26 #77D53D #9AE070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAF26#FFFFFF#000000##000000
##5AAF261.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)
#AA9935
Tritanopia (blue-blind)
#56A895
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5aaf26;
/* rgb */ color: rgb(90, 175, 38);
/* oklch */ color: oklch(67.5% 0.186 136.6);
Tailwind
colors: {
  custom: {
    50: '#91c76c',
    500: '#5aaf26',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf26;
$custom-light: #91c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf26",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 97.226,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67471,
    "c": 0.18596,
    "h": 136.6
  },
  "luminance": 0.32974
}

Semantic roles & 50–950 ramp

primary
#5AAF26
secondary
#A46AC7
accent
#40E7A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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