#5AAB27#5AAB27

#5AAB27 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.4% C 0.181 H 136.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5AAB27
RGBrgb(90, 171, 39)
HSLhsl(97, 63%, 41%)
HSVhsv(97, 77%, 67%)
CMYKcmyk(47.4%, 0%, 77.2%, 32.9%)
CIE-LABlab(62.88, -46.91, 55.96)
CIE-LCHlch(62.88, 73.02, 129.97°)
OKLaboklab(66.44% -0.1306 0.1248)
OKLCHoklch(66.44% 0.181 136.3)
XYZxyz(19.1450, 31.4447, 6.9797)
Luminance0.3145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAB27 #7827AB
analogous
#9CAB27 #5AAB27 #27AB36
triadic
#5AAB27 #275AAB #AB275A
tetradic
#5AAB27 #279CAB #7827AB #AB3627
square
#5AAB27 #279CAB #7827AB #AB3627
split-complementary
#5AAB27 #3627AB #AB279C
monochromatic
#264710 #40791C #5AAB27 #77D33D #9ADE6E

Accessibility & contrast

On white

2.88
#5AAB27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#5AAB27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAB27
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAB27#FFFFFF#000000##000000
##5AAB271.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#A69635
Tritanopia (blue-blind)
#56A592
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aab27;
/* rgb */ color: rgb(90, 171, 39);
/* oklch */ color: oklch(66.4% 0.181 136.3);
Tailwind
colors: {
  custom: {
    50: '#90c56b',
    500: '#5aab27',
    950: '#000000',
  },
}
SCSS
$custom: #5aab27;
$custom-light: #90c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aab27",
  "rgb": {
    "r": 90,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 96.818,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6644,
    "c": 0.18063,
    "h": 136.3
  },
  "luminance": 0.31446
}

Semantic roles & 50–950 ramp

primary
#5AAB27
secondary
#A169C5
accent
#42E6A7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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