#5AA227#5AA227

#5AA227 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.1% C 0.170 H 135.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5AA227
RGBrgb(90, 162, 39)
HSLhsl(95, 61%, 39%)
HSVhsv(95, 76%, 64%)
CMYKcmyk(44.4%, 0%, 75.9%, 36.5%)
CIE-LABlab(60.03, -43.27, 53.20)
CIE-LCHlch(60.03, 68.57, 129.12°)
OKLaboklab(64.1% -0.1208 0.119)
OKLCHoklch(64.1% 0.17 135.4)
XYZxyz(17.5026, 28.1598, 6.4322)
Luminance0.2816 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA227 #6F27A2
analogous
#98A227 #5AA227 #27A232
triadic
#5AA227 #275AA2 #A2275A
tetradic
#5AA227 #2798A2 #6F27A2 #A23227
square
#5AA227 #2798A2 #6F27A2 #A23227
split-complementary
#5AA227 #3227A2 #A22798
monochromatic
#233F0F #3F711B #5AA227 #76CF37 #98DB69

Accessibility & contrast

On white

3.17
#5AA227 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5AA227 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA227
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA227#FFFFFF#000000##000000
##5AA2271.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940C
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#589C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa227;
/* rgb */ color: rgb(90, 162, 39);
/* oklch */ color: oklch(64.1% 0.170 135.4);
Tailwind
colors: {
  custom: {
    50: '#8fbe6a',
    500: '#5aa227',
    950: '#000000',
  },
}
SCSS
$custom: #5aa227;
$custom-light: #8fbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa227",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 95.122,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64101,
    "c": 0.16956,
    "h": 135.4
  },
  "luminance": 0.28161
}

Semantic roles & 50–950 ramp

primary
#5AA227
secondary
#9A64C1
accent
#43E4A2
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA227

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

Preview Lab → · Contrast checker → · Palette generator →

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