#5AA127#5AA127

#5AA127 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.168 H 135.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5AA127
RGBrgb(90, 161, 39)
HSLhsl(95, 61%, 39%)
HSVhsv(95, 76%, 63%)
CMYKcmyk(44.1%, 0%, 75.8%, 36.9%)
CIE-LABlab(59.72, -42.85, 52.89)
CIE-LCHlch(59.72, 68.07, 129.02°)
OKLaboklab(63.84% -0.1197 0.1184)
OKLCHoklch(63.84% 0.168 135.3)
XYZxyz(17.3271, 27.8089, 6.3737)
Luminance0.2781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA127 #6E27A1
analogous
#97A127 #5AA127 #27A131
triadic
#5AA127 #275AA1 #A1275A
tetradic
#5AA127 #2797A1 #6E27A1 #A13127
square
#5AA127 #2797A1 #6E27A1 #A13127
split-complementary
#5AA127 #3127A1 #A12797
monochromatic
#233E0F #3E701B #5AA127 #76CE37 #98DA68

Accessibility & contrast

On white

3.20
#5AA127 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5AA127 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA127
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA127#FFFFFF#000000##000000
##5AA1271.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7940C
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#589B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa127;
/* rgb */ color: rgb(90, 161, 39);
/* oklch */ color: oklch(63.8% 0.168 135.3);
Tailwind
colors: {
  custom: {
    50: '#8fbd6a',
    500: '#5aa127',
    950: '#000000',
  },
}
SCSS
$custom: #5aa127;
$custom-light: #8fbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa127",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 94.918,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63841,
    "c": 0.16832,
    "h": 135.3
  },
  "luminance": 0.2781
}

Semantic roles & 50–950 ramp

primary
#5AA127
secondary
#9A63C0
accent
#44E4A1
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA127

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

Preview Lab → · Contrast checker → · Palette generator →

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