#5AA031#5AA031

#5AA031 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.7% C 0.161 H 136.1°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5AA031
RGBrgb(90, 160, 49)
HSLhsl(98, 53%, 41%)
HSVhsv(98, 69%, 63%)
CMYKcmyk(43.7%, 0%, 69.4%, 37.3%)
CIE-LABlab(59.47, -41.70, 48.84)
CIE-LCHlch(59.47, 64.23, 130.49°)
OKLaboklab(63.66% -0.1158 0.1113)
OKLCHoklch(63.66% 0.161 136.1)
XYZxyz(17.3412, 27.5360, 7.3064)
Luminance0.2754 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA031 #7731A0
analogous
#91A031 #5AA031 #31A03F
triadic
#5AA031 #315AA0 #A0315A
tetradic
#5AA031 #3191A0 #7731A0 #A03F31
square
#5AA031 #3191A0 #7731A0 #A03F31
split-complementary
#5AA031 #3F31A0 #A03191
monochromatic
#254214 #407123 #5AA031 #76C747 #99D576

Accessibility & contrast

On white

3.23
#5AA031 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#5AA031 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA031
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA031#FFFFFF#000000##000000
##5AA0311.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69321
Deuteranopia (green-blind)
#9C8D3B
Tritanopia (blue-blind)
#579A8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5aa031;
/* rgb */ color: rgb(90, 160, 49);
/* oklch */ color: oklch(63.7% 0.161 136.1);
Tailwind
colors: {
  custom: {
    50: '#8ebc6f',
    500: '#5aa031',
    950: '#000000',
  },
}
SCSS
$custom: #5aa031;
$custom-light: #8ebc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa031",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 97.838,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.63659,
    "c": 0.16067,
    "h": 136.1
  },
  "luminance": 0.27537
}

Semantic roles & 50–950 ramp

primary
#5AA031
secondary
#A170BD
accent
#4BDDA7
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA031

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

Preview Lab → · Contrast checker → · Palette generator →

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