#5AA126#5AA126

#5AA126 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.169 H 135.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5AA126
RGBrgb(90, 161, 38)
HSLhsl(95, 62%, 39%)
HSVhsv(95, 76%, 63%)
CMYKcmyk(44.1%, 0%, 76.4%, 36.9%)
CIE-LABlab(59.71, -42.92, 53.23)
CIE-LCHlch(59.71, 68.37, 128.88°)
OKLaboklab(63.83% -0.1199 0.1189)
OKLCHoklch(63.83% 0.169 135.2)
XYZxyz(17.3108, 27.8023, 6.2876)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA126 #6D26A1
analogous
#98A126 #5AA126 #26A130
triadic
#5AA126 #265AA1 #A1265A
tetradic
#5AA126 #2698A1 #6D26A1 #A13026
square
#5AA126 #2698A1 #6D26A1 #A13026
split-complementary
#5AA126 #3026A1 #A12698
monochromatic
#233E0F #3E6F1A #5AA126 #76CF35 #98DB66

Accessibility & contrast

On white

3.20
#5AA126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5AA126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA126
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA126#FFFFFF#000000##000000
##5AA1261.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79309
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#589B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa126;
/* rgb */ color: rgb(90, 161, 38);
/* oklch */ color: oklch(63.8% 0.169 135.2);
Tailwind
colors: {
  custom: {
    50: '#8fbd6a',
    500: '#5aa126',
    950: '#000000',
  },
}
SCSS
$custom: #5aa126;
$custom-light: #8fbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa126",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 94.634,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63834,
    "c": 0.16888,
    "h": 135.2
  },
  "luminance": 0.27803
}

Semantic roles & 50–950 ramp

primary
#5AA126
secondary
#9962C1
accent
#43E5A0
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA126

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

Preview Lab → · Contrast checker → · Palette generator →

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