#5AA72D#5AA72D

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

Color values

HEX#5AA72D
RGBrgb(90, 167, 45)
HSLhsl(98, 58%, 42%)
HSVhsv(98, 73%, 65%)
CMYKcmyk(46.1%, 0%, 73.1%, 34.5%)
CIE-LABlab(61.65, -44.90, 52.65)
CIE-LCHlch(61.65, 69.20, 130.46°)
OKLaboklab(65.44% -0.1248 0.1187)
OKLCHoklch(65.44% 0.172 136.4)
XYZxyz(18.5083, 29.9994, 7.2973)
Luminance0.3000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA72D #7A2DA7
analogous
#97A72D #5AA72D #2DA73D
triadic
#5AA72D #2D5AA7 #A72D5A
tetradic
#5AA72D #2D97A7 #7A2DA7 #A73D2D
square
#5AA72D #2D97A7 #7A2DA7 #A73D2D
split-complementary
#5AA72D #3D2DA7 #A72D97
monochromatic
#264713 #407720 #5AA72D #77CD44 #9ADA75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA72D#FFFFFF#000000##000000
##5AA72D1.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)
#AD9917
Deuteranopia (green-blind)
#A39339
Tritanopia (blue-blind)
#56A18F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5aa72d;
/* rgb */ color: rgb(90, 167, 45);
/* oklch */ color: oklch(65.4% 0.172 136.4);
Tailwind
colors: {
  custom: {
    50: '#8fc26e',
    500: '#5aa72d',
    950: '#000000',
  },
}
SCSS
$custom: #5aa72d;
$custom-light: #8fc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa72d",
  "rgb": {
    "r": 90,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 97.869,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65443,
    "c": 0.17226,
    "h": 136.4
  },
  "luminance": 0.30001
}

Semantic roles & 50–950 ramp

primary
#5AA72D
secondary
#A36EC1
accent
#47E1A8
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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