#5AA02F#5AA02F

#5AA02F is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.6% C 0.162 H 135.9°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5AA02F
RGBrgb(90, 160, 47)
HSLhsl(97, 55%, 41%)
HSVhsv(97, 71%, 63%)
CMYKcmyk(43.7%, 0%, 70.6%, 37.3%)
CIE-LABlab(59.45, -41.86, 49.63)
CIE-LCHlch(59.45, 64.93, 130.15°)
OKLaboklab(63.64% -0.1164 0.1127)
OKLCHoklch(63.64% 0.162 135.9)
XYZxyz(17.2999, 27.5195, 7.0890)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA02F #752FA0
analogous
#92A02F #5AA02F #2FA03C
triadic
#5AA02F #2F5AA0 #A02F5A
tetradic
#5AA02F #2F92A0 #752FA0 #A03C2F
square
#5AA02F #2F92A0 #752FA0 #A03C2F
split-complementary
#5AA02F #3C2FA0 #A02F92
monochromatic
#254113 #3F7121 #5AA02F #76C844 #99D673

Accessibility & contrast

On white

3.23
#5AA02F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#5AA02F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA02F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA02F#FFFFFF#000000##000000
##5AA02F1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931D
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#579A8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5aa02f;
/* rgb */ color: rgb(90, 160, 47);
/* oklch */ color: oklch(63.6% 0.162 135.9);
Tailwind
colors: {
  custom: {
    50: '#8ebc6e',
    500: '#5aa02f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa02f;
$custom-light: #8ebc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa02f",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 97.168,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63642,
    "c": 0.16204,
    "h": 135.9
  },
  "luminance": 0.27521
}

Semantic roles & 50–950 ramp

primary
#5AA02F
secondary
#9F6DBE
accent
#4ADEA6
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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