#5AA826#5AA826

#5AA826 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.7% C 0.178 H 136.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5AA826
RGBrgb(90, 168, 38)
HSLhsl(96, 63%, 40%)
HSVhsv(96, 77%, 66%)
CMYKcmyk(46.4%, 0%, 77.4%, 34.1%)
CIE-LABlab(61.93, -45.77, 55.37)
CIE-LCHlch(61.93, 71.84, 129.58°)
OKLaboklab(65.65% -0.1276 0.1234)
OKLCHoklch(65.65% 0.178 136)
XYZxyz(18.5685, 30.3177, 6.7068)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA826 #7426A8
analogous
#9BA826 #5AA826 #26A833
triadic
#5AA826 #265AA8 #A8265A
tetradic
#5AA826 #269BA8 #7426A8 #A83326
square
#5AA826 #269BA8 #7426A8 #A83326
split-complementary
#5AA826 #3326A8 #A8269B
monochromatic
#25440F #3F761B #5AA826 #76D239 #99DE6B

Accessibility & contrast

On white

2.97
#5AA826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5AA826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA826
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA826#FFFFFF#000000##000000
##5AA8261.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A04
Deuteranopia (green-blind)
#A49334
Tritanopia (blue-blind)
#57A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5aa826;
/* rgb */ color: rgb(90, 168, 38);
/* oklch */ color: oklch(65.7% 0.178 136.0);
Tailwind
colors: {
  custom: {
    50: '#90c26b',
    500: '#5aa826',
    950: '#000000',
  },
}
SCSS
$custom: #5aa826;
$custom-light: #90c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa826",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 96,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65654,
    "c": 0.17751,
    "h": 136
  },
  "luminance": 0.30319
}

Semantic roles & 50–950 ramp

primary
#5AA826
secondary
#9E66C4
accent
#42E6A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA826

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

Preview Lab → · Contrast checker → · Palette generator →

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