#5AA12E#5AA12E

#5AA12E is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 63.9% C 0.164 H 135.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5AA12E
RGBrgb(90, 161, 46)
HSLhsl(97, 56%, 41%)
HSVhsv(97, 71%, 63%)
CMYKcmyk(44.1%, 0%, 71.4%, 36.9%)
CIE-LABlab(59.76, -42.36, 50.34)
CIE-LCHlch(59.76, 65.79, 130.08°)
OKLaboklab(63.89% -0.1178 0.1141)
OKLCHoklch(63.89% 0.164 135.9)
XYZxyz(17.4540, 27.8596, 7.0420)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA12E #752EA1
analogous
#94A12E #5AA12E #2EA13B
triadic
#5AA12E #2E5AA1 #A12E5A
tetradic
#5AA12E #2E94A1 #752EA1 #A13B2E
square
#5AA12E #2E94A1 #752EA1 #A13B2E
split-complementary
#5AA12E #3B2EA1 #A12E94
monochromatic
#254213 #3F7120 #5AA12E #76C943 #99D773

Accessibility & contrast

On white

3.20
#5AA12E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5AA12E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA12E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA12E#FFFFFF#000000##000000
##5AA12E1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941B
Deuteranopia (green-blind)
#9D8E39
Tritanopia (blue-blind)
#579B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa12e;
/* rgb */ color: rgb(90, 161, 46);
/* oklch */ color: oklch(63.9% 0.164 135.9);
Tailwind
colors: {
  custom: {
    50: '#8fbd6e',
    500: '#5aa12e',
    950: '#000000',
  },
}
SCSS
$custom: #5aa12e;
$custom-light: #8fbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa12e",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 97.043,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.16399,
    "h": 135.9
  },
  "luminance": 0.27861
}

Semantic roles & 50–950 ramp

primary
#5AA12E
secondary
#9F6CBE
accent
#49DFA6
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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