#5AAF2C#5AAF2C

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

Color values

HEX#5AAF2C
RGBrgb(90, 175, 44)
HSLhsl(99, 60%, 43%)
HSVhsv(99, 75%, 69%)
CMYKcmyk(48.6%, 0%, 74.9%, 31.4%)
CIE-LABlab(64.17, -48.17, 55.52)
CIE-LCHlch(64.17, 73.50, 130.95°)
OKLaboklab(67.51% -0.1337 0.1246)
OKLCHoklch(67.51% 0.183 137)
XYZxyz(20.0004, 33.0141, 7.7008)
Luminance0.3301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF2C #812CAF
analogous
#9BAF2C #5AAF2C #2CAF3F
triadic
#5AAF2C #2C5AAF #AF2C5A
tetradic
#5AAF2C #2C9BAF #812CAF #AF3F2C
square
#5AAF2C #2C9BAF #812CAF #AF3F2C
split-complementary
#5AAF2C #3F2CAF #AF2C9B
monochromatic
#284D13 #417E20 #5AAF2C #78D147 #9CDD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAF2C#FFFFFF#000000##000000
##5AAF2C1.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)
#B5A011
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#55A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5aaf2c;
/* rgb */ color: rgb(90, 175, 44);
/* oklch */ color: oklch(67.5% 0.183 137.0);
Tailwind
colors: {
  custom: {
    50: '#90c76e',
    500: '#5aaf2c',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf2c;
$custom-light: #90c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf2c",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 98.931,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6751,
    "c": 0.18274,
    "h": 137
  },
  "luminance": 0.33015
}

Semantic roles & 50–950 ramp

primary
#5AAF2C
secondary
#A872C5
accent
#45E3AB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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