#5AAA1A#5AAA1A

#5AAA1A is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.1% C 0.185 H 135.4°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5AAA1A
RGBrgb(90, 170, 26)
HSLhsl(93, 73%, 38%)
HSVhsv(93, 85%, 67%)
CMYKcmyk(47.1%, 0%, 84.7%, 33.3%)
CIE-LABlab(62.50, -47.18, 59.37)
CIE-LCHlch(62.50, 75.83, 128.47°)
OKLaboklab(66.11% -0.132 0.13)
OKLCHoklch(66.11% 0.185 135.4)
XYZxyz(18.7772, 30.9965, 5.9706)
Luminance0.3100 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA1A #6A1AAA
analogous
#A2AA1A #5AAA1A #1AAA22
triadic
#5AAA1A #1A5AAA #AA1A5A
tetradic
#5AAA1A #1AA2AA #6A1AAA #AA221A
square
#5AAA1A #1AA2AA #6A1AAA #AA221A
split-complementary
#5AAA1A #221AAA #AA1AA2
monochromatic
#22400A #3E7512 #5AAA1A #76DD24 #97E659

Accessibility & contrast

On white

2.92
#5AAA1A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#5AAA1A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA1A
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA1A#FFFFFF#000000##000000
##5AAA1A1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A6952D
Tritanopia (blue-blind)
#57A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa1a;
/* rgb */ color: rgb(90, 170, 26);
/* oklch */ color: oklch(66.1% 0.185 135.4);
Tailwind
colors: {
  custom: {
    50: '#91c466',
    500: '#5aaa1a',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa1a;
$custom-light: #91c466;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa1a",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 26
  },
  "hsl": {
    "h": 93.333,
    "s": 73.469,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66111,
    "c": 0.18532,
    "h": 135.4
  },
  "luminance": 0.30998
}

Semantic roles & 50–950 ramp

primary
#5AAA1A
secondary
#9657C9
accent
#38F09E
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAA1A

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

Preview Lab → · Contrast checker → · Palette generator →

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