#5AA931#5AA931

#5AA931 is a light, vivid yellow-green. Relative luminance 0.308; OKLCH L 66.0% C 0.172 H 137.0°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#5AA931
RGBrgb(90, 169, 49)
HSLhsl(100, 55%, 43%)
HSVhsv(100, 71%, 66%)
CMYKcmyk(46.7%, 0%, 71%, 33.7%)
CIE-LABlab(62.31, -45.42, 51.80)
CIE-LCHlch(62.31, 68.89, 131.24°)
OKLaboklab(65.99% -0.1259 0.1175)
OKLCHoklch(65.99% 0.172 137)
XYZxyz(18.9582, 30.7701, 7.8454)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA931 #8031A9
analogous
#96A931 #5AA931 #31A944
triadic
#5AA931 #315AA9 #A9315A
tetradic
#5AA931 #3196A9 #8031A9 #A94431
square
#5AA931 #3196A9 #8031A9 #A94431
split-complementary
#5AA931 #4431A9 #A93196
monochromatic
#274A15 #417A23 #5AA931 #77CB4C #9BD97C

Accessibility & contrast

On white

2.94
#5AA931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#5AA931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA931
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA931#FFFFFF#000000##000000
##5AA9311.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1E
Deuteranopia (green-blind)
#A4943C
Tritanopia (blue-blind)
#56A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aa931;
/* rgb */ color: rgb(90, 169, 49);
/* oklch */ color: oklch(66.0% 0.172 137.0);
Tailwind
colors: {
  custom: {
    50: '#8fc370',
    500: '#5aa931',
    950: '#000000',
  },
}
SCSS
$custom: #5aa931;
$custom-light: #8fc370;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa931",
  "rgb": {
    "r": 90,
    "g": 169,
    "b": 49
  },
  "hsl": {
    "h": 99.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65993,
    "c": 0.17223,
    "h": 137
  },
  "luminance": 0.30771
}

Semantic roles & 50–950 ramp

primary
#5AA931
secondary
#A774C1
accent
#49DEAB
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA931

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

Preview Lab → · Contrast checker → · Palette generator →

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