#5AA12A#5AA12A

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

Color values

HEX#5AA12A
RGBrgb(90, 161, 42)
HSLhsl(96, 59%, 40%)
HSVhsv(96, 74%, 63%)
CMYKcmyk(44.1%, 0%, 73.9%, 36.9%)
CIE-LABlab(59.73, -42.65, 51.83)
CIE-LCHlch(59.73, 67.12, 129.45°)
OKLaboklab(63.86% -0.1189 0.1166)
OKLCHoklch(63.86% 0.167 135.6)
XYZxyz(17.3788, 27.8295, 6.6460)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA12A #712AA1
analogous
#96A12A #5AA12A #2AA135
triadic
#5AA12A #2A5AA1 #A12A5A
tetradic
#5AA12A #2A96A1 #712AA1 #A1352A
square
#5AA12A #2A96A1 #712AA1 #A1352A
split-complementary
#5AA12A #352AA1 #A12A96
monochromatic
#244011 #3F701D #5AA12A #76CC3C #98D96D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA12A#FFFFFF#000000##000000
##5AA12A1.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)
#A79414
Deuteranopia (green-blind)
#9D8E36
Tritanopia (blue-blind)
#589B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa12a;
/* rgb */ color: rgb(90, 161, 42);
/* oklch */ color: oklch(63.9% 0.167 135.6);
Tailwind
colors: {
  custom: {
    50: '#8fbd6c',
    500: '#5aa12a',
    950: '#000000',
  },
}
SCSS
$custom: #5aa12a;
$custom-light: #8fbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa12a",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 95.798,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63862,
    "c": 0.16654,
    "h": 135.6
  },
  "luminance": 0.27831
}

Semantic roles & 50–950 ramp

primary
#5AA12A
secondary
#9C67C0
accent
#46E2A3
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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