#5AAA2D#5AAA2D

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

Color values

HEX#5AAA2D
RGBrgb(90, 170, 45)
HSLhsl(98, 58%, 42%)
HSVhsv(98, 74%, 67%)
CMYKcmyk(47.1%, 0%, 73.5%, 33.3%)
CIE-LABlab(62.60, -46.12, 53.60)
CIE-LCHlch(62.60, 70.71, 130.71°)
OKLaboklab(66.22% -0.1281 0.1207)
OKLCHoklch(66.22% 0.176 136.7)
XYZxyz(19.0643, 31.1113, 7.4826)
Luminance0.3111 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA2D #7D2DAA
analogous
#99AA2D #5AAA2D #2DAA3E
triadic
#5AAA2D #2D5AAA #AA2D5A
tetradic
#5AAA2D #2D99AA #7D2DAA #AA3E2D
square
#5AAA2D #2D99AA #7D2DAA #AA3E2D
split-complementary
#5AAA2D #3E2DAA #AA2D99
monochromatic
#274913 #407A20 #5AAA2D #77CE46 #9BDB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAA2D#FFFFFF#000000##000000
##5AAA2D1.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)
#B09C16
Deuteranopia (green-blind)
#A59539
Tritanopia (blue-blind)
#56A492
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa2d;
/* rgb */ color: rgb(90, 170, 45);
/* oklch */ color: oklch(66.2% 0.176 136.7);
Tailwind
colors: {
  custom: {
    50: '#90c46e',
    500: '#5aaa2d',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa2d;
$custom-light: #90c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa2d",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 45
  },
  "hsl": {
    "h": 98.4,
    "s": 58.14,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66221,
    "c": 0.176,
    "h": 136.7
  },
  "luminance": 0.31113
}

Semantic roles & 50–950 ramp

primary
#5AAA2D
secondary
#A570C3
accent
#46E1AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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