#5AAF29#5AAF29

#5AAF29 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.184 H 136.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5AAF29
RGBrgb(90, 175, 41)
HSLhsl(98, 62%, 42%)
HSVhsv(98, 77%, 69%)
CMYKcmyk(48.6%, 0%, 76.6%, 31.4%)
CIE-LABlab(64.15, -48.37, 56.53)
CIE-LCHlch(64.15, 74.39, 130.55°)
OKLaboklab(67.49% -0.1344 0.1263)
OKLCHoklch(67.49% 0.184 136.8)
XYZxyz(19.9461, 32.9923, 7.4145)
Luminance0.3299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF29 #7E29AF
analogous
#9DAF29 #5AAF29 #29AF3B
triadic
#5AAF29 #295AAF #AF295A
tetradic
#5AAF29 #299DAF #7E29AF #AF3B29
square
#5AAF29 #299DAF #7E29AF #AF3B29
split-complementary
#5AAF29 #3B29AF #AF299D
monochromatic
#274C12 #407D1D #5AAF29 #77D342 #9BDE74

Accessibility & contrast

On white

2.76
#5AAF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#5AAF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAF29
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAF29#FFFFFF#000000##000000
##5AAF291.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A008
Deuteranopia (green-blind)
#AA9937
Tritanopia (blue-blind)
#55A996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5aaf29;
/* rgb */ color: rgb(90, 175, 41);
/* oklch */ color: oklch(67.5% 0.184 136.8);
Tailwind
colors: {
  custom: {
    50: '#91c76d',
    500: '#5aaf29',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf29;
$custom-light: #91c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf29",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 98.06,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6749,
    "c": 0.1844,
    "h": 136.8
  },
  "luminance": 0.32994
}

Semantic roles & 50–950 ramp

primary
#5AAF29
secondary
#A66EC6
accent
#43E5AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAF29

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

Preview Lab → · Contrast checker → · Palette generator →

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