#5AA229#5AA229

#5AA229 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.1% C 0.168 H 135.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5AA229
RGBrgb(90, 162, 41)
HSLhsl(96, 60%, 40%)
HSVhsv(96, 75%, 64%)
CMYKcmyk(44.4%, 0%, 74.7%, 36.5%)
CIE-LABlab(60.05, -43.13, 52.50)
CIE-LCHlch(60.05, 67.95, 129.41°)
OKLaboklab(64.11% -0.1203 0.1179)
OKLCHoklch(64.11% 0.168 135.6)
XYZxyz(17.5366, 28.1734, 6.6114)
Luminance0.2817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA229 #7129A2
analogous
#97A229 #5AA229 #29A234
triadic
#5AA229 #295AA2 #A2295A
tetradic
#5AA229 #2997A2 #7129A2 #A23429
square
#5AA229 #2997A2 #7129A2 #A23429
split-complementary
#5AA229 #3429A2 #A22997
monochromatic
#244010 #3F711D #5AA229 #76CD3B #98DA6C

Accessibility & contrast

On white

3.17
#5AA229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5AA229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA229
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA229#FFFFFF#000000##000000
##5AA2291.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89411
Deuteranopia (green-blind)
#9E8F35
Tritanopia (blue-blind)
#589C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa229;
/* rgb */ color: rgb(90, 162, 41);
/* oklch */ color: oklch(64.1% 0.168 135.6);
Tailwind
colors: {
  custom: {
    50: '#8fbe6b',
    500: '#5aa229',
    950: '#000000',
  },
}
SCSS
$custom: #5aa229;
$custom-light: #8fbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa229",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 95.702,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64115,
    "c": 0.1684,
    "h": 135.6
  },
  "luminance": 0.28174
}

Semantic roles & 50–950 ramp

primary
#5AA229
secondary
#9C67C0
accent
#45E3A3
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA229

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

Preview Lab → · Contrast checker → · Palette generator →

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