#5AAC1F#5AAC1F

#5AAC1F is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 66.7% C 0.186 H 135.9°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5AAC1F
RGBrgb(90, 172, 31)
HSLhsl(95, 69%, 40%)
HSVhsv(95, 82%, 67%)
CMYKcmyk(47.7%, 0%, 82%, 32.5%)
CIE-LABlab(63.16, -47.74, 58.65)
CIE-LCHlch(63.16, 75.62, 129.15°)
OKLaboklab(66.65% -0.1333 0.1292)
OKLCHoklch(66.65% 0.186 135.9)
XYZxyz(19.2158, 31.7764, 6.4170)
Luminance0.3178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAC1F #711FAC
analogous
#A0AC1F #5AAC1F #1FAC2B
triadic
#5AAC1F #1F5AAC #AC1F5A
tetradic
#5AAC1F #1FA0AC #711FAC #AC2B1F
square
#5AAC1F #1FA0AC #711FAC #AC2B1F
split-complementary
#5AAC1F #2B1FAC #AC1FA0
monochromatic
#24440C #3F7816 #5AAC1F #76D92F #98E363

Accessibility & contrast

On white

2.85
#5AAC1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5AAC1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAC1F
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAC1F#FFFFFF#000000##000000
##5AAC1F1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A89630
Tritanopia (blue-blind)
#57A593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5aac1f;
/* rgb */ color: rgb(90, 172, 31);
/* oklch */ color: oklch(66.7% 0.186 135.9);
Tailwind
colors: {
  custom: {
    50: '#91c568',
    500: '#5aac1f',
    950: '#000000',
  },
}
SCSS
$custom: #5aac1f;
$custom-light: #91c568;
$custom-dark: #000000;
JSON
{
  "hex": "#5aac1f",
  "rgb": {
    "r": 90,
    "g": 172,
    "b": 31
  },
  "hsl": {
    "h": 94.894,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66654,
    "c": 0.18566,
    "h": 135.9
  },
  "luminance": 0.31778
}

Semantic roles & 50–950 ramp

primary
#5AAC1F
secondary
#9C5FC8
accent
#3CECA2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AAC1F

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

Preview Lab → · Contrast checker → · Palette generator →

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