#5AA828#5AA828

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

Color values

HEX#5AA828
RGBrgb(90, 168, 40)
HSLhsl(97, 62%, 41%)
HSVhsv(97, 76%, 66%)
CMYKcmyk(46.4%, 0%, 76.2%, 34.1%)
CIE-LABlab(61.94, -45.65, 54.71)
CIE-LCHlch(61.94, 71.25, 129.84°)
OKLaboklab(65.67% -0.1271 0.1223)
OKLCHoklch(65.67% 0.176 136.1)
XYZxyz(18.6016, 30.3309, 6.8814)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA828 #7628A8
analogous
#9AA828 #5AA828 #28A836
triadic
#5AA828 #285AA8 #A8285A
tetradic
#5AA828 #289AA8 #7628A8 #A83628
square
#5AA828 #289AA8 #7628A8 #A83628
split-complementary
#5AA828 #3628A8 #A8289A
monochromatic
#254510 #40771C #5AA828 #76D13D #99DC6E

Accessibility & contrast

On white

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

On black

7.07
#5AA828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA828
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA828#FFFFFF#000000##000000
##5AA8281.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5aa828;
/* rgb */ color: rgb(90, 168, 40);
/* oklch */ color: oklch(65.7% 0.176 136.1);
Tailwind
colors: {
  custom: {
    50: '#90c26c',
    500: '#5aa828',
    950: '#000000',
  },
}
SCSS
$custom: #5aa828;
$custom-light: #90c26c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa828",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 40
  },
  "hsl": {
    "h": 96.563,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.65667,
    "c": 0.17643,
    "h": 136.1
  },
  "luminance": 0.30332
}

Semantic roles & 50–950 ramp

primary
#5AA828
secondary
#A069C3
accent
#43E5A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA828

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

Preview Lab → · Contrast checker → · Palette generator →

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