#5AAA1C#5AAA1C

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

Color values

HEX#5AAA1C
RGBrgb(90, 170, 28)
HSLhsl(94, 72%, 39%)
HSVhsv(94, 84%, 67%)
CMYKcmyk(47.1%, 0%, 83.5%, 33.3%)
CIE-LABlab(62.51, -47.09, 58.87)
CIE-LCHlch(62.51, 75.39, 128.66°)
OKLaboklab(66.12% -0.1317 0.1293)
OKLCHoklch(66.12% 0.185 135.5)
XYZxyz(18.8003, 31.0057, 6.0924)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA1C #6C1CAA
analogous
#A1AA1C #5AAA1C #1CAA25
triadic
#5AAA1C #1C5AAA #AA1C5A
tetradic
#5AAA1C #1CA1AA #6C1CAA #AA251C
square
#5AAA1C #1CA1AA #6C1CAA #AA251C
split-complementary
#5AAA1C #251CAA #AA1CA1
monochromatic
#22410B #3E7513 #5AAA1C #76DC28 #98E45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAA1C#FFFFFF#000000##000000
##5AAA1C1.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)
#A6952E
Tritanopia (blue-blind)
#57A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa1c;
/* rgb */ color: rgb(90, 170, 28);
/* oklch */ color: oklch(66.1% 0.185 135.5);
Tailwind
colors: {
  custom: {
    50: '#90c467',
    500: '#5aaa1c',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa1c;
$custom-light: #90c467;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa1c",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 28
  },
  "hsl": {
    "h": 93.803,
    "s": 71.717,
    "l": 38.824
  },
  "oklch": {
    "l": 0.6612,
    "c": 0.18455,
    "h": 135.5
  },
  "luminance": 0.31007
}

Semantic roles & 50–950 ramp

primary
#5AAA1C
secondary
#985AC8
accent
#39EE9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAA1C

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

Preview Lab → · Contrast checker → · Palette generator →

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