#5AA81F#5AA81F

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

Color values

HEX#5AA81F
RGBrgb(90, 168, 31)
HSLhsl(94, 69%, 39%)
HSVhsv(94, 82%, 66%)
CMYKcmyk(46.4%, 0%, 81.5%, 34.1%)
CIE-LABlab(61.89, -46.15, 57.49)
CIE-LCHlch(61.89, 73.72, 128.76°)
OKLaboklab(65.61% -0.129 0.1268)
OKLCHoklch(65.61% 0.181 135.5)
XYZxyz(18.4660, 30.2767, 6.1670)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA81F #6D1FA8
analogous
#9FA81F #5AA81F #1FA829
triadic
#5AA81F #1F5AA8 #A81F5A
tetradic
#5AA81F #1F9FA8 #6D1FA8 #A8291F
square
#5AA81F #1F9FA8 #6D1FA8 #A8291F
split-complementary
#5AA81F #291FA8 #A81F9F
monochromatic
#23410C #3E7415 #5AA81F #76D82C #98E260

Accessibility & contrast

On white

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

On black

7.06
#5AA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA81F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA81F#FFFFFF#000000##000000
##5AA81F1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5aa81f;
/* rgb */ color: rgb(90, 168, 31);
/* oklch */ color: oklch(65.6% 0.181 135.5);
Tailwind
colors: {
  custom: {
    50: '#90c268',
    500: '#5aa81f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa81f;
$custom-light: #90c268;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa81f",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 94.161,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65614,
    "c": 0.18092,
    "h": 135.5
  },
  "luminance": 0.30278
}

Semantic roles & 50–950 ramp

primary
#5AA81F
secondary
#995DC6
accent
#3CECA0
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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