#5AA526#5AA526

#5AA526 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.174 H 135.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5AA526
RGBrgb(90, 165, 38)
HSLhsl(95, 63%, 40%)
HSVhsv(95, 77%, 65%)
CMYKcmyk(45.5%, 0%, 77%, 35.3%)
CIE-LABlab(60.98, -44.56, 54.46)
CIE-LCHlch(60.98, 70.36, 129.29°)
OKLaboklab(64.87% -0.1243 0.1215)
OKLCHoklch(64.87% 0.174 135.7)
XYZxyz(18.0210, 29.2228, 6.5243)
Luminance0.2922 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA526 #7126A5
analogous
#9AA526 #5AA526 #26A531
triadic
#5AA526 #265AA5 #A5265A
tetradic
#5AA526 #269AA5 #7126A5 #A53126
square
#5AA526 #269AA5 #7126A5 #A53126
split-complementary
#5AA526 #3126A5 #A5269A
monochromatic
#24420F #3F731B #5AA526 #76D137 #98DC69

Accessibility & contrast

On white

3.07
#5AA526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#5AA526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA526
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA526#FFFFFF#000000##000000
##5AA5261.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#579F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa526;
/* rgb */ color: rgb(90, 165, 38);
/* oklch */ color: oklch(64.9% 0.174 135.7);
Tailwind
colors: {
  custom: {
    50: '#8fc06a',
    500: '#5aa526',
    950: '#000000',
  },
}
SCSS
$custom: #5aa526;
$custom-light: #8fc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa526",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 95.433,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64874,
    "c": 0.17383,
    "h": 135.7
  },
  "luminance": 0.29224
}

Semantic roles & 50–950 ramp

primary
#5AA526
secondary
#9C64C3
accent
#42E6A3
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA526

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

Preview Lab → · Contrast checker → · Palette generator →

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