#5AA827#5AA827

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

Color values

HEX#5AA827
RGBrgb(90, 168, 39)
HSLhsl(96, 62%, 41%)
HSVhsv(96, 77%, 66%)
CMYKcmyk(46.4%, 0%, 76.8%, 34.1%)
CIE-LABlab(61.93, -45.71, 55.04)
CIE-LCHlch(61.93, 71.55, 129.71°)
OKLaboklab(65.66% -0.1274 0.1229)
OKLCHoklch(65.66% 0.177 136)
XYZxyz(18.5848, 30.3242, 6.7929)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA827 #7527A8
analogous
#9AA827 #5AA827 #27A834
triadic
#5AA827 #275AA8 #A8275A
tetradic
#5AA827 #279AA8 #7527A8 #A83427
square
#5AA827 #279AA8 #7527A8 #A83427
split-complementary
#5AA827 #3427A8 #A8279A
monochromatic
#254510 #3F761B #5AA827 #76D13B #99DD6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA827#FFFFFF#000000##000000
##5AA8271.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)
#AE9A07
Deuteranopia (green-blind)
#A49335
Tritanopia (blue-blind)
#57A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5aa827;
/* rgb */ color: rgb(90, 168, 39);
/* oklch */ color: oklch(65.7% 0.177 136.0);
Tailwind
colors: {
  custom: {
    50: '#90c26b',
    500: '#5aa827',
    950: '#000000',
  },
}
SCSS
$custom: #5aa827;
$custom-light: #90c26b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa827",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 96.279,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65661,
    "c": 0.17698,
    "h": 136
  },
  "luminance": 0.30325
}

Semantic roles & 50–950 ramp

primary
#5AA827
secondary
#9F67C3
accent
#42E5A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA827

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

Preview Lab → · Contrast checker → · Palette generator →

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