#5AAA2F#5AAA2F

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

Color values

HEX#5AAA2F
RGBrgb(90, 170, 47)
HSLhsl(99, 57%, 43%)
HSVhsv(99, 72%, 67%)
CMYKcmyk(47.1%, 0%, 72.4%, 33.3%)
CIE-LABlab(62.61, -45.97, 52.87)
CIE-LCHlch(62.61, 70.06, 131.01°)
OKLaboklab(66.24% -0.1275 0.1195)
OKLCHoklch(66.24% 0.175 136.9)
XYZxyz(19.1037, 31.1271, 7.6903)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA2F #7F2FAA
analogous
#98AA2F #5AAA2F #2FAA41
triadic
#5AAA2F #2F5AAA #AA2F5A
tetradic
#5AAA2F #2F98AA #7F2FAA #AA412F
square
#5AAA2F #2F98AA #7F2FAA #AA412F
split-complementary
#5AAA2F #412FAA #AA2F98
monochromatic
#274A14 #417A22 #5AAA2F #77CD49 #9BDA79

Accessibility & contrast

On white

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

On black

7.23
#5AAA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA2F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA2F#FFFFFF#000000##000000
##5AAA2F1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5aaa2f;
/* rgb */ color: rgb(90, 170, 47);
/* oklch */ color: oklch(66.2% 0.175 136.9);
Tailwind
colors: {
  custom: {
    50: '#90c46f',
    500: '#5aaa2f',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa2f;
$custom-light: #90c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa2f",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 99.024,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66236,
    "c": 0.17477,
    "h": 136.9
  },
  "luminance": 0.31128
}

Semantic roles & 50–950 ramp

primary
#5AAA2F
secondary
#A672C2
accent
#48E0AB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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