#5AAA27#5AAA27

#5AAA27 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.179 H 136.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5AAA27
RGBrgb(90, 170, 39)
HSLhsl(97, 63%, 41%)
HSVhsv(97, 77%, 67%)
CMYKcmyk(47.1%, 0%, 77.1%, 33.3%)
CIE-LABlab(62.57, -46.51, 55.66)
CIE-LCHlch(62.57, 72.53, 129.89°)
OKLaboklab(66.18% -0.1295 0.1241)
OKLCHoklch(66.18% 0.179 136.2)
XYZxyz(18.9569, 31.0684, 6.9170)
Luminance0.3107 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA27 #7727AA
analogous
#9BAA27 #5AAA27 #27AA35
triadic
#5AAA27 #275AAA #AA275A
tetradic
#5AAA27 #279BAA #7727AA #AA3527
square
#5AAA27 #279BAA #7727AA #AA3527
split-complementary
#5AAA27 #3527AA #AA279B
monochromatic
#254610 #40781C #5AAA27 #76D23C #99DE6E

Accessibility & contrast

On white

2.91
#5AAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5AAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA27
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA27#FFFFFF#000000##000000
##5AAA271.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#A69535
Tritanopia (blue-blind)
#56A491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa27;
/* rgb */ color: rgb(90, 170, 39);
/* oklch */ color: oklch(66.2% 0.179 136.2);
Tailwind
colors: {
  custom: {
    50: '#90c46b',
    500: '#5aaa27',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa27;
$custom-light: #90c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa27",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 96.641,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6618,
    "c": 0.17941,
    "h": 136.2
  },
  "luminance": 0.3107
}

Semantic roles & 50–950 ramp

primary
#5AAA27
secondary
#A169C4
accent
#42E6A6
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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