#5AAF2F#5AAF2F

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

Color values

HEX#5AAF2F
RGBrgb(90, 175, 47)
HSLhsl(100, 58%, 44%)
HSVhsv(100, 73%, 69%)
CMYKcmyk(48.6%, 0%, 73.1%, 31.4%)
CIE-LABlab(64.19, -47.97, 54.46)
CIE-LCHlch(64.19, 72.57, 131.37°)
OKLaboklab(67.53% -0.1329 0.1228)
OKLCHoklch(67.53% 0.181 137.3)
XYZxyz(20.0589, 33.0375, 8.0087)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF2F #842FAF
analogous
#9AAF2F #5AAF2F #2FAF44
triadic
#5AAF2F #2F5AAF #AF2F5A
tetradic
#5AAF2F #2F9AAF #842FAF #AF442F
square
#5AAF2F #2F9AAF #842FAF #AF442F
split-complementary
#5AAF2F #442FAF #AF2F9A
monochromatic
#284F15 #417F22 #5AAF2F #78CF4C #9DDC7C

Accessibility & contrast

On white

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

On black

7.61
#5AAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAF2F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAF2F#FFFFFF#000000##000000
##5AAF2F1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#AA993C
Tritanopia (blue-blind)
#55A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5aaf2f;
/* rgb */ color: rgb(90, 175, 47);
/* oklch */ color: oklch(67.5% 0.181 137.3);
Tailwind
colors: {
  custom: {
    50: '#90c770',
    500: '#5aaf2f',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf2f;
$custom-light: #90c770;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf2f",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 99.844,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67532,
    "c": 0.18098,
    "h": 137.3
  },
  "luminance": 0.33039
}

Semantic roles & 50–950 ramp

primary
#5AAF2F
secondary
#AA75C4
accent
#47E1AD
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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