#5AA82F#5AA82F

#5AA82F is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 65.7% C 0.172 H 136.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#5AA82F
RGBrgb(90, 168, 47)
HSLhsl(99, 56%, 42%)
HSVhsv(99, 72%, 66%)
CMYKcmyk(46.4%, 0%, 72%, 34.1%)
CIE-LABlab(61.98, -45.16, 52.23)
CIE-LCHlch(61.98, 69.05, 130.85°)
OKLaboklab(65.72% -0.1254 0.1181)
OKLCHoklch(65.72% 0.172 136.7)
XYZxyz(18.7316, 30.3830, 7.5662)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA82F #7D2FA8
analogous
#96A82F #5AA82F #2FA841
triadic
#5AA82F #2F5AA8 #A82F5A
tetradic
#5AA82F #2F96A8 #7D2FA8 #A8412F
square
#5AA82F #2F96A8 #7D2FA8 #A8412F
split-complementary
#5AA82F #412FA8 #A82F96
monochromatic
#274814 #407822 #5AA82F #77CC48 #9BD978

Accessibility & contrast

On white

2.97
#5AA82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#5AA82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA82F
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA82F#FFFFFF#000000##000000
##5AA82F1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1B
Deuteranopia (green-blind)
#A3933B
Tritanopia (blue-blind)
#56A290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5aa82f;
/* rgb */ color: rgb(90, 168, 47);
/* oklch */ color: oklch(65.7% 0.172 136.7);
Tailwind
colors: {
  custom: {
    50: '#8fc26f',
    500: '#5aa82f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa82f;
$custom-light: #8fc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa82f",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 98.678,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65718,
    "c": 0.17226,
    "h": 136.7
  },
  "luminance": 0.30384
}

Semantic roles & 50–950 ramp

primary
#5AA82F
secondary
#A571C1
accent
#48E0AA
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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