#5AAA1F#5AAA1F

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

Color values

HEX#5AAA1F
RGBrgb(90, 170, 31)
HSLhsl(95, 69%, 39%)
HSVhsv(95, 82%, 67%)
CMYKcmyk(47.1%, 0%, 81.8%, 33.3%)
CIE-LABlab(62.53, -46.95, 58.07)
CIE-LCHlch(62.53, 74.68, 128.96°)
OKLaboklab(66.13% -0.1312 0.128)
OKLCHoklch(66.13% 0.183 135.7)
XYZxyz(18.8380, 31.0208, 6.2910)
Luminance0.3102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA1F #6F1FAA
analogous
#A0AA1F #5AAA1F #1FAA29
triadic
#5AAA1F #1F5AAA #AA1F5A
tetradic
#5AAA1F #1FA0AA #6F1FAA #AA291F
square
#5AAA1F #1FA0AA #6F1FAA #AA291F
split-complementary
#5AAA1F #291FAA #AA1FA0
monochromatic
#23420C #3F7616 #5AAA1F #76D92D #98E261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AAA1F#FFFFFF#000000##000000
##5AAA1F1.002.917.207.20
#FFFFFF2.911.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5aaa1f;
/* rgb */ color: rgb(90, 170, 31);
/* oklch */ color: oklch(66.1% 0.183 135.7);
Tailwind
colors: {
  custom: {
    50: '#90c468',
    500: '#5aaa1f',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa1f;
$custom-light: #90c468;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa1f",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 31
  },
  "hsl": {
    "h": 94.532,
    "s": 69.154,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66134,
    "c": 0.18329,
    "h": 135.7
  },
  "luminance": 0.31022
}

Semantic roles & 50–950 ramp

primary
#5AAA1F
secondary
#9A5EC7
accent
#3CECA1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAA1F

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

Preview Lab → · Contrast checker → · Palette generator →

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