#5AA12D#5AA12D

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

Color values

HEX#5AA12D
RGBrgb(90, 161, 45)
HSLhsl(97, 56%, 40%)
HSVhsv(97, 72%, 63%)
CMYKcmyk(44.1%, 0%, 72%, 36.9%)
CIE-LABlab(59.75, -42.44, 50.72)
CIE-LCHlch(59.75, 66.13, 129.92°)
OKLaboklab(63.89% -0.1181 0.1147)
OKLCHoklch(63.89% 0.165 135.8)
XYZxyz(17.4345, 27.8518, 6.9394)
Luminance0.2785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA12D #742DA1
analogous
#94A12D #5AA12D #2DA13A
triadic
#5AA12D #2D5AA1 #A12D5A
tetradic
#5AA12D #2D94A1 #742DA1 #A13A2D
square
#5AA12D #2D94A1 #742DA1 #A13A2D
split-complementary
#5AA12D #3A2DA1 #A12D94
monochromatic
#254112 #3F7120 #5AA12D #76CA41 #99D771

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA12D#FFFFFF#000000##000000
##5AA12D1.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)
#A7941A
Deuteranopia (green-blind)
#9D8E38
Tritanopia (blue-blind)
#579B8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa12d;
/* rgb */ color: rgb(90, 161, 45);
/* oklch */ color: oklch(63.9% 0.165 135.8);
Tailwind
colors: {
  custom: {
    50: '#8fbd6d',
    500: '#5aa12d',
    950: '#000000',
  },
}
SCSS
$custom: #5aa12d;
$custom-light: #8fbd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa12d",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 45
  },
  "hsl": {
    "h": 96.724,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.63885,
    "c": 0.16465,
    "h": 135.8
  },
  "luminance": 0.27853
}

Semantic roles & 50–950 ramp

primary
#5AA12D
secondary
#9E6BBF
accent
#48E0A5
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA12D

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

Preview Lab → · Contrast checker → · Palette generator →

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