#5AAA31#5AAA31

#5AAA31 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.3% C 0.173 H 137.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5AAA31
RGBrgb(90, 170, 49)
HSLhsl(100, 55%, 43%)
HSVhsv(100, 71%, 67%)
CMYKcmyk(47.1%, 0%, 71.2%, 33.3%)
CIE-LABlab(62.63, -45.82, 52.12)
CIE-LCHlch(62.63, 69.40, 131.32°)
OKLaboklab(66.25% -0.127 0.1182)
OKLCHoklch(66.25% 0.173 137.1)
XYZxyz(19.1450, 31.1436, 7.9076)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA31 #8131AA
analogous
#97AA31 #5AAA31 #31AA44
triadic
#5AAA31 #315AAA #AA315A
tetradic
#5AAA31 #3197AA #8131AA #AA4431
square
#5AAA31 #3197AA #8131AA #AA4431
split-complementary
#5AAA31 #4431AA #AA3197
monochromatic
#284B16 #417A23 #5AAA31 #78CC4D #9CD97C

Accessibility & contrast

On white

2.90
#5AAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#5AAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA31
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA31#FFFFFF#000000##000000
##5AAA311.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#A5953C
Tritanopia (blue-blind)
#56A492
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa31;
/* rgb */ color: rgb(90, 170, 49);
/* oklch */ color: oklch(66.3% 0.173 137.1);
Tailwind
colors: {
  custom: {
    50: '#90c470',
    500: '#5aaa31',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa31;
$custom-light: #90c470;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa31",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 99.669,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66252,
    "c": 0.17349,
    "h": 137.1
  },
  "luminance": 0.31145
}

Semantic roles & 50–950 ramp

primary
#5AAA31
secondary
#A875C2
accent
#49DFAC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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