#5AB027#5AB027

#5AB027 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 67.7% C 0.187 H 136.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5AB027
RGBrgb(90, 176, 39)
HSLhsl(98, 64%, 42%)
HSVhsv(98, 78%, 69%)
CMYKcmyk(48.9%, 0%, 77.8%, 31%)
CIE-LABlab(64.46, -48.88, 57.47)
CIE-LCHlch(64.46, 75.45, 130.38°)
OKLaboklab(67.74% -0.1359 0.1279)
OKLCHoklch(67.74% 0.187 136.7)
XYZxyz(20.1074, 33.3694, 7.3005)
Luminance0.3337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB027 #7D27B0
analogous
#9FB027 #5AB027 #27B038
triadic
#5AB027 #275AB0 #B0275A
tetradic
#5AB027 #279FB0 #7D27B0 #B03827
square
#5AB027 #279FB0 #7D27B0 #B03827
split-complementary
#5AB027 #3827B0 #B0279F
monochromatic
#274C11 #407E1C #5AB027 #77D540 #9BE072

Accessibility & contrast

On white

2.74
#5AB027 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#5AB027 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB027
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB027#FFFFFF#000000##000000
##5AB0271.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#55A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5ab027;
/* rgb */ color: rgb(90, 176, 39);
/* oklch */ color: oklch(67.7% 0.187 136.7);
Tailwind
colors: {
  custom: {
    50: '#91c86c',
    500: '#5ab027',
    950: '#000000',
  },
}
SCSS
$custom: #5ab027;
$custom-light: #91c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab027",
  "rgb": {
    "r": 90,
    "g": 176,
    "b": 39
  },
  "hsl": {
    "h": 97.664,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67737,
    "c": 0.18665,
    "h": 136.7
  },
  "luminance": 0.33371
}

Semantic roles & 50–950 ramp

primary
#5AB027
secondary
#A56CC7
accent
#41E7A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB027

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

Preview Lab → · Contrast checker → · Palette generator →

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