#5AAC2A#5AAC2A

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

Color values

HEX#5AAC2A
RGBrgb(90, 172, 42)
HSLhsl(98, 61%, 42%)
HSVhsv(98, 76%, 67%)
CMYKcmyk(47.7%, 0%, 75.6%, 32.5%)
CIE-LABlab(63.21, -47.12, 55.27)
CIE-LCHlch(63.21, 72.63, 130.45°)
OKLaboklab(66.72% -0.131 0.1238)
OKLCHoklch(66.72% 0.18 136.6)
XYZxyz(19.3863, 31.8446, 7.3151)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAC2A #7C2AAC
analogous
#9BAC2A #5AAC2A #2AAC3B
triadic
#5AAC2A #2A5AAC #AC2A5A
tetradic
#5AAC2A #2A9BAC #7C2AAC #AC3B2A
square
#5AAC2A #2A9BAC #7C2AAC #AC3B2A
split-complementary
#5AAC2A #3B2AAC #AC2A9B
monochromatic
#274A12 #407B1E #5AAC2A #77D142 #9ADD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAC2A#FFFFFF#000000##000000
##5AAC2A1.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)
#B29D0D
Deuteranopia (green-blind)
#A79638
Tritanopia (blue-blind)
#56A693
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5aac2a;
/* rgb */ color: rgb(90, 172, 42);
/* oklch */ color: oklch(66.7% 0.180 136.6);
Tailwind
colors: {
  custom: {
    50: '#90c56d',
    500: '#5aac2a',
    950: '#000000',
  },
}
SCSS
$custom: #5aac2a;
$custom-light: #90c56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aac2a",
  "rgb": {
    "r": 90,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 97.846,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.18021,
    "h": 136.6
  },
  "luminance": 0.31846
}

Semantic roles & 50–950 ramp

primary
#5AAC2A
secondary
#A46DC4
accent
#44E4A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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