#5AAA2E#5AAA2E

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

Color values

HEX#5AAA2E
RGBrgb(90, 170, 46)
HSLhsl(99, 57%, 42%)
HSVhsv(99, 73%, 67%)
CMYKcmyk(47.1%, 0%, 72.9%, 33.3%)
CIE-LABlab(62.61, -46.05, 53.24)
CIE-LCHlch(62.61, 70.39, 130.86°)
OKLaboklab(66.23% -0.1278 0.1201)
OKLCHoklch(66.23% 0.175 136.8)
XYZxyz(19.0838, 31.1191, 7.5852)
Luminance0.3112 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA2E #7E2EAA
analogous
#98AA2E #5AAA2E #2EAA40
triadic
#5AAA2E #2E5AAA #AA2E5A
tetradic
#5AAA2E #2E98AA #7E2EAA #AA402E
square
#5AAA2E #2E98AA #7E2EAA #AA402E
split-complementary
#5AAA2E #402EAA #AA2E98
monochromatic
#274A14 #407A21 #5AAA2E #77CD48 #9BDA78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAA2E#FFFFFF#000000##000000
##5AAA2E1.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)
#B09C18
Deuteranopia (green-blind)
#A5953A
Tritanopia (blue-blind)
#56A492
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa2e;
/* rgb */ color: rgb(90, 170, 46);
/* oklch */ color: oklch(66.2% 0.175 136.8);
Tailwind
colors: {
  custom: {
    50: '#90c46f',
    500: '#5aaa2e',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa2e;
$custom-light: #90c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa2e",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 46
  },
  "hsl": {
    "h": 98.71,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66229,
    "c": 0.17538,
    "h": 136.8
  },
  "luminance": 0.3112
}

Semantic roles & 50–950 ramp

primary
#5AAA2E
secondary
#A671C3
accent
#47E1AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAA2E

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

Preview Lab → · Contrast checker → · Palette generator →

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