#5AB229#5AB229

#5AB229 is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.3% C 0.188 H 137.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#5AB229
RGBrgb(90, 178, 41)
HSLhsl(99, 63%, 43%)
HSVhsv(99, 77%, 70%)
CMYKcmyk(49.4%, 0%, 77%, 30.2%)
CIE-LABlab(65.10, -49.54, 57.44)
CIE-LCHlch(65.10, 75.85, 130.78°)
OKLaboklab(68.27% -0.1375 0.1282)
OKLCHoklch(68.27% 0.188 137)
XYZxyz(20.5365, 34.1731, 7.6113)
Luminance0.3417 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB229 #8129B2
analogous
#9EB229 #5AB229 #29B23C
triadic
#5AB229 #295AB2 #B2295A
tetradic
#5AB229 #299EB2 #8129B2 #B23C29
square
#5AB229 #299EB2 #8129B2 #B23C29
split-complementary
#5AB229 #3C29B2 #B2299E
monochromatic
#284F12 #41801E #5AB229 #78D444 #9CDF76

Accessibility & contrast

On white

2.68
#5AB229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#5AB229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB229
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB229#FFFFFF#000000##000000
##5AB2291.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A305
Deuteranopia (green-blind)
#AD9B38
Tritanopia (blue-blind)
#55AB98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ab229;
/* rgb */ color: rgb(90, 178, 41);
/* oklch */ color: oklch(68.3% 0.188 137.0);
Tailwind
colors: {
  custom: {
    50: '#91ca6d',
    500: '#5ab229',
    950: '#000000',
  },
}
SCSS
$custom: #5ab229;
$custom-light: #91ca6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab229",
  "rgb": {
    "r": 90,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 98.54,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68267,
    "c": 0.18801,
    "h": 137
  },
  "luminance": 0.34175
}

Semantic roles & 50–950 ramp

primary
#5AB229
secondary
#A870C7
accent
#42E6AB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5AB229

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

Preview Lab → · Contrast checker → · Palette generator →

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