#5AAA29#5AAA29

#5AAA29 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.178 H 136.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5AAA29
RGBrgb(90, 170, 41)
HSLhsl(97, 61%, 41%)
HSVhsv(97, 76%, 67%)
CMYKcmyk(47.1%, 0%, 75.9%, 33.3%)
CIE-LABlab(62.58, -46.39, 54.99)
CIE-LCHlch(62.58, 71.94, 130.15°)
OKLaboklab(66.19% -0.1291 0.1231)
OKLCHoklch(66.19% 0.178 136.4)
XYZxyz(18.9909, 31.0820, 7.0961)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA29 #7929AA
analogous
#9BAA29 #5AAA29 #29AA39
triadic
#5AAA29 #295AAA #AA295A
tetradic
#5AAA29 #299BAA #7929AA #AA3929
square
#5AAA29 #299BAA #7929AA #AA3929
split-complementary
#5AAA29 #3929AA #AA299B
monochromatic
#264711 #40791D #5AAA29 #77D13F #9ADD71

Accessibility & contrast

On white

2.91
#5AAA29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5AAA29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA29
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA29#FFFFFF#000000##000000
##5AAA291.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B0C
Deuteranopia (green-blind)
#A59536
Tritanopia (blue-blind)
#56A491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa29;
/* rgb */ color: rgb(90, 170, 41);
/* oklch */ color: oklch(66.2% 0.178 136.4);
Tailwind
colors: {
  custom: {
    50: '#90c46c',
    500: '#5aaa29',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa29;
$custom-light: #90c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa29",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 41
  },
  "hsl": {
    "h": 97.209,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66193,
    "c": 0.17832,
    "h": 136.4
  },
  "luminance": 0.31083
}

Semantic roles & 50–950 ramp

primary
#5AAA29
secondary
#A26BC4
accent
#44E4A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAA29

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

Preview Lab → · Contrast checker → · Palette generator →

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