#5AAF2A#5AAF2A

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

Color values

HEX#5AAF2A
RGBrgb(90, 175, 42)
HSLhsl(98, 61%, 43%)
HSVhsv(98, 76%, 69%)
CMYKcmyk(48.6%, 0%, 76%, 31.4%)
CIE-LABlab(64.16, -48.30, 56.20)
CIE-LCHlch(64.16, 74.10, 130.68°)
OKLaboklab(67.5% -0.1342 0.1257)
OKLCHoklch(67.5% 0.184 136.9)
XYZxyz(19.9637, 32.9994, 7.5076)
Luminance0.3300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF2A #7F2AAF
analogous
#9CAF2A #5AAF2A #2AAF3D
triadic
#5AAF2A #2A5AAF #AF2A5A
tetradic
#5AAF2A #2A9CAF #7F2AAF #AF3D2A
square
#5AAF2A #2A9CAF #7F2AAF #AF3D2A
split-complementary
#5AAF2A #3D2AAF #AF2A9C
monochromatic
#274C12 #417E1E #5AAF2A #77D244 #9BDE75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAF2A#FFFFFF#000000##000000
##5AAF2A1.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)
#B5A00B
Deuteranopia (green-blind)
#AA9938
Tritanopia (blue-blind)
#55A996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5aaf2a;
/* rgb */ color: rgb(90, 175, 42);
/* oklch */ color: oklch(67.5% 0.184 136.9);
Tailwind
colors: {
  custom: {
    50: '#91c76d',
    500: '#5aaf2a',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf2a;
$custom-light: #91c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf2a",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 98.346,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.67497,
    "c": 0.18386,
    "h": 136.9
  },
  "luminance": 0.33001
}

Semantic roles & 50–950 ramp

primary
#5AAF2A
secondary
#A66FC6
accent
#43E4AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAF2A

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

Preview Lab → · Contrast checker → · Palette generator →

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