#5AA72F#5AA72F

#5AA72F is a light, vivid yellow-green. Relative luminance 0.300; OKLCH L 65.5% C 0.171 H 136.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5AA72F
RGBrgb(90, 167, 47)
HSLhsl(99, 56%, 42%)
HSVhsv(99, 72%, 65%)
CMYKcmyk(46.1%, 0%, 71.9%, 34.5%)
CIE-LABlab(61.67, -44.76, 51.91)
CIE-LCHlch(61.67, 68.54, 130.77°)
OKLaboklab(65.46% -0.1243 0.1175)
OKLCHoklch(65.46% 0.171 136.6)
XYZxyz(18.5477, 30.0152, 7.5049)
Luminance0.3002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA72F #7C2FA7
analogous
#96A72F #5AA72F #2FA740
triadic
#5AA72F #2F5AA7 #A72F5A
tetradic
#5AA72F #2F96A7 #7C2FA7 #A7402F
square
#5AA72F #2F96A7 #7C2FA7 #A7402F
split-complementary
#5AA72F #402FA7 #A72F96
monochromatic
#274714 #407722 #5AA72F #77CB48 #9AD978

Accessibility & contrast

On white

3.00
#5AA72F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5AA72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA72F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA72F#FFFFFF#000000##000000
##5AA72F1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991B
Deuteranopia (green-blind)
#A2933A
Tritanopia (blue-blind)
#56A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5aa72f;
/* rgb */ color: rgb(90, 167, 47);
/* oklch */ color: oklch(65.5% 0.171 136.6);
Tailwind
colors: {
  custom: {
    50: '#8fc26f',
    500: '#5aa72f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa72f;
$custom-light: #8fc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa72f",
  "rgb": {
    "r": 90,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 98.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.65459,
    "c": 0.17099,
    "h": 136.6
  },
  "luminance": 0.30016
}

Semantic roles & 50–950 ramp

primary
#5AA72F
secondary
#A471C1
accent
#48DFA9
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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