#5AAC2D#5AAC2D

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

Color values

HEX#5AAC2D
RGBrgb(90, 172, 45)
HSLhsl(99, 59%, 43%)
HSVhsv(99, 74%, 67%)
CMYKcmyk(47.7%, 0%, 73.8%, 32.5%)
CIE-LABlab(63.23, -46.92, 54.23)
CIE-LCHlch(63.23, 71.71, 130.86°)
OKLaboklab(66.74% -0.1302 0.122)
OKLCHoklch(66.74% 0.178 136.9)
XYZxyz(19.4421, 31.8669, 7.6086)
Luminance0.3187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAC2D #7F2DAC
analogous
#99AC2D #5AAC2D #2DAC3F
triadic
#5AAC2D #2D5AAC #AC2D5A
tetradic
#5AAC2D #2D99AC #7F2DAC #AC3F2D
square
#5AAC2D #2D99AC #7F2DAC #AC3F2D
split-complementary
#5AAC2D #3F2DAC #AC2D99
monochromatic
#274B14 #417B20 #5AAC2D #77CF47 #9BDC78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAC2D#FFFFFF#000000##000000
##5AAC2D1.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)
#B29D15
Deuteranopia (green-blind)
#A7973A
Tritanopia (blue-blind)
#56A693
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5aac2d;
/* rgb */ color: rgb(90, 172, 45);
/* oklch */ color: oklch(66.7% 0.178 136.9);
Tailwind
colors: {
  custom: {
    50: '#90c56e',
    500: '#5aac2d',
    950: '#000000',
  },
}
SCSS
$custom: #5aac2d;
$custom-light: #90c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#5aac2d",
  "rgb": {
    "r": 90,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 98.74,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6674,
    "c": 0.17848,
    "h": 136.9
  },
  "luminance": 0.31868
}

Semantic roles & 50–950 ramp

primary
#5AAC2D
secondary
#A671C4
accent
#46E2AB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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