#5AAF25#5AAF25

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

Color values

HEX#5AAF25
RGBrgb(90, 175, 37)
HSLhsl(97, 65%, 42%)
HSVhsv(97, 79%, 69%)
CMYKcmyk(48.6%, 0%, 78.9%, 31.4%)
CIE-LABlab(64.13, -48.60, 57.79)
CIE-LCHlch(64.13, 75.51, 130.06°)
OKLaboklab(67.47% -0.1353 0.1283)
OKLCHoklch(67.47% 0.186 136.5)
XYZxyz(19.8798, 32.9658, 7.0654)
Luminance0.3297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF25 #7A25AF
analogous
#9FAF25 #5AAF25 #25AF35
triadic
#5AAF25 #255AAF #AF255A
tetradic
#5AAF25 #259FAF #7A25AF #AF3525
square
#5AAF25 #259FAF #7A25AF #AF3525
split-complementary
#5AAF25 #3525AF #AF259F
monochromatic
#264A10 #407C1A #5AAF25 #77D63C #9AE06E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAF25#FFFFFF#000000##000000
##5AAF251.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: #5aaf25;
/* rgb */ color: rgb(90, 175, 37);
/* oklch */ color: oklch(67.5% 0.186 136.5);
Tailwind
colors: {
  custom: {
    50: '#91c76b',
    500: '#5aaf25',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf25;
$custom-light: #91c76b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf25",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 96.957,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67465,
    "c": 0.18646,
    "h": 136.5
  },
  "luminance": 0.32967
}

Semantic roles & 50–950 ramp

primary
#5AAF25
secondary
#A369C7
accent
#40E8A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AAF25

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

Preview Lab → · Contrast checker → · Palette generator →

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