#5AA12B#5AA12B

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

Color values

HEX#5AA12B
RGBrgb(90, 161, 43)
HSLhsl(96, 58%, 40%)
HSVhsv(96, 73%, 63%)
CMYKcmyk(44.1%, 0%, 73.3%, 36.9%)
CIE-LABlab(59.74, -42.58, 51.47)
CIE-LCHlch(59.74, 66.80, 129.60°)
OKLaboklab(63.87% -0.1187 0.116)
OKLCHoklch(63.87% 0.166 135.7)
XYZxyz(17.3969, 27.8368, 6.7414)
Luminance0.2784 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA12B #722BA1
analogous
#95A12B #5AA12B #2BA137
triadic
#5AA12B #2B5AA1 #A12B5A
tetradic
#5AA12B #2B95A1 #722BA1 #A1372B
square
#5AA12B #2B95A1 #722BA1 #A1372B
split-complementary
#5AA12B #372BA1 #A12B95
monochromatic
#244011 #3F711E #5AA12B #76CB3E #98D86E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5aa12b;
/* rgb */ color: rgb(90, 161, 43);
/* oklch */ color: oklch(63.9% 0.166 135.7);
Tailwind
colors: {
  custom: {
    50: '#8fbd6c',
    500: '#5aa12b',
    950: '#000000',
  },
}
SCSS
$custom: #5aa12b;
$custom-light: #8fbd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa12b",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 96.102,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.6387,
    "c": 0.16592,
    "h": 135.7
  },
  "luminance": 0.27838
}

Semantic roles & 50–950 ramp

primary
#5AA12B
secondary
#9D69BF
accent
#47E1A4
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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