#5AA12F#5AA12F

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

Color values

HEX#5AA12F
RGBrgb(90, 161, 47)
HSLhsl(97, 55%, 41%)
HSVhsv(97, 71%, 63%)
CMYKcmyk(44.1%, 0%, 70.8%, 36.9%)
CIE-LABlab(59.77, -42.28, 49.96)
CIE-LCHlch(59.77, 65.45, 130.24°)
OKLaboklab(63.9% -0.1176 0.1134)
OKLCHoklch(63.9% 0.163 136)
XYZxyz(17.4740, 27.8676, 7.1470)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA12F #762FA1
analogous
#93A12F #5AA12F #2FA13D
triadic
#5AA12F #2F5AA1 #A12F5A
tetradic
#5AA12F #2F93A1 #762FA1 #A13D2F
square
#5AA12F #2F93A1 #762FA1 #A13D2F
split-complementary
#5AA12F #3D2FA1 #A12F93
monochromatic
#254213 #407221 #5AA12F #76C945 #99D674

Accessibility & contrast

On white

3.19
#5AA12F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA12F#FFFFFF#000000##000000
##5AA12F1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5aa12f;
/* rgb */ color: rgb(90, 161, 47);
/* oklch */ color: oklch(63.9% 0.163 136.0);
Tailwind
colors: {
  custom: {
    50: '#8fbd6e',
    500: '#5aa12f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa12f;
$custom-light: #8fbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa12f",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 97.368,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.63901,
    "c": 0.16333,
    "h": 136
  },
  "luminance": 0.27869
}

Semantic roles & 50–950 ramp

primary
#5AA12F
secondary
#A06EBE
accent
#4ADEA6
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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