#5AAC2B#5AAC2B

#5AAC2B is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 66.7% C 0.180 H 136.7°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5AAC2B
RGBrgb(90, 172, 43)
HSLhsl(98, 60%, 42%)
HSVhsv(98, 75%, 67%)
CMYKcmyk(47.7%, 0%, 75%, 32.5%)
CIE-LABlab(63.22, -47.05, 54.93)
CIE-LCHlch(63.22, 72.33, 130.58°)
OKLaboklab(66.73% -0.1307 0.1232)
OKLCHoklch(66.73% 0.18 136.7)
XYZxyz(19.4045, 31.8518, 7.4106)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAC2B #7D2BAC
analogous
#9AAC2B #5AAC2B #2BAC3D
triadic
#5AAC2B #2B5AAC #AC2B5A
tetradic
#5AAC2B #2B9AAC #7D2BAC #AC3D2B
square
#5AAC2B #2B9AAC #7D2BAC #AC3D2B
split-complementary
#5AAC2B #3D2BAC #AC2B9A
monochromatic
#274A13 #407B1F #5AAC2B #77D044 #9BDC75

Accessibility & contrast

On white

2.85
#5AAC2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#5AAC2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAC2B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAC2B#FFFFFF#000000##000000
##5AAC2B1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D10
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#56A693
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5aac2b;
/* rgb */ color: rgb(90, 172, 43);
/* oklch */ color: oklch(66.7% 0.180 136.7);
Tailwind
colors: {
  custom: {
    50: '#90c56d',
    500: '#5aac2b',
    950: '#000000',
  },
}
SCSS
$custom: #5aac2b;
$custom-light: #90c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aac2b",
  "rgb": {
    "r": 90,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 98.14,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66726,
    "c": 0.17964,
    "h": 136.7
  },
  "luminance": 0.31853
}

Semantic roles & 50–950 ramp

primary
#5AAC2B
secondary
#A56FC4
accent
#45E3A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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