#5AA81E#5AA81E

#5AA81E is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.6% C 0.181 H 135.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5AA81E
RGBrgb(90, 168, 30)
HSLhsl(94, 70%, 39%)
HSVhsv(94, 82%, 66%)
CMYKcmyk(46.4%, 0%, 82.1%, 34.1%)
CIE-LABlab(61.89, -46.20, 57.77)
CIE-LCHlch(61.89, 73.97, 128.65°)
OKLaboklab(65.61% -0.1292 0.1272)
OKLCHoklch(65.61% 0.181 135.4)
XYZxyz(18.4530, 30.2715, 6.0987)
Luminance0.3027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA81E #6C1EA8
analogous
#9FA81E #5AA81E #1EA827
triadic
#5AA81E #1E5AA8 #A81E5A
tetradic
#5AA81E #1E9FA8 #6C1EA8 #A8271E
square
#5AA81E #1E9FA8 #6C1EA8 #A8271E
split-complementary
#5AA81E #271EA8 #A81E9F
monochromatic
#22400B #3E7415 #5AA81E #76D92A #98E25E

Accessibility & contrast

On white

2.98
#5AA81E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#5AA81E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA81E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA81E#FFFFFF#000000##000000
##5AA81E1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#57A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5aa81e;
/* rgb */ color: rgb(90, 168, 30);
/* oklch */ color: oklch(65.6% 0.181 135.4);
Tailwind
colors: {
  custom: {
    50: '#90c267',
    500: '#5aa81e',
    950: '#000000',
  },
}
SCSS
$custom: #5aa81e;
$custom-light: #90c267;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa81e",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 30
  },
  "hsl": {
    "h": 93.913,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65609,
    "c": 0.18136,
    "h": 135.4
  },
  "luminance": 0.30273
}

Semantic roles & 50–950 ramp

primary
#5AA81E
secondary
#985BC7
accent
#3BED9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA81E

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

Preview Lab → · Contrast checker → · Palette generator →

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