#5AAA2B#5AAA2B

#5AAA2B is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.177 H 136.5°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5AAA2B
RGBrgb(90, 170, 43)
HSLhsl(98, 60%, 42%)
HSVhsv(98, 75%, 67%)
CMYKcmyk(47.1%, 0%, 74.7%, 33.3%)
CIE-LABlab(62.59, -46.25, 54.31)
CIE-LCHlch(62.59, 71.33, 130.42°)
OKLaboklab(66.21% -0.1286 0.1219)
OKLCHoklch(66.21% 0.177 136.5)
XYZxyz(19.0267, 31.0963, 7.2846)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA2B #7B2BAA
analogous
#9AAA2B #5AAA2B #2BAA3C
triadic
#5AAA2B #2B5AAA #AA2B5A
tetradic
#5AAA2B #2B9AAA #7B2BAA #AA3C2B
square
#5AAA2B #2B9AAA #7B2BAA #AA3C2B
split-complementary
#5AAA2B #3C2BAA #AA2B9A
monochromatic
#264812 #40791F #5AAA2B #77CF43 #9ADC74

Accessibility & contrast

On white

2.91
#5AAA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5AAA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA2B
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA2B#FFFFFF#000000##000000
##5AAA2B1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#A59538
Tritanopia (blue-blind)
#56A492
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa2b;
/* rgb */ color: rgb(90, 170, 43);
/* oklch */ color: oklch(66.2% 0.177 136.5);
Tailwind
colors: {
  custom: {
    50: '#90c46d',
    500: '#5aaa2b',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa2b;
$custom-light: #90c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa2b",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 97.795,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66207,
    "c": 0.17719,
    "h": 136.5
  },
  "luminance": 0.31098
}

Semantic roles & 50–950 ramp

primary
#5AAA2B
secondary
#A46EC3
accent
#45E3A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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