#5AA42E#5AA42E

#5AA42E is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.7% C 0.168 H 136.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#5AA42E
RGBrgb(90, 164, 46)
HSLhsl(98, 56%, 41%)
HSVhsv(98, 72%, 64%)
CMYKcmyk(45.1%, 0%, 72%, 35.7%)
CIE-LABlab(60.71, -43.60, 51.31)
CIE-LCHlch(60.71, 67.34, 130.36°)
OKLaboklab(64.67% -0.1212 0.1161)
OKLCHoklch(64.67% 0.168 136.2)
XYZxyz(17.9846, 28.9207, 7.2188)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA42E #782EA4
analogous
#95A42E #5AA42E #2EA43D
triadic
#5AA42E #2E5AA4 #A42E5A
tetradic
#5AA42E #2E95A4 #782EA4 #A43D2E
square
#5AA42E #2E95A4 #782EA4 #A43D2E
split-complementary
#5AA42E #3D2EA4 #A42E95
monochromatic
#264413 #407421 #5AA42E #77CB45 #9AD874

Accessibility & contrast

On white

3.10
#5AA42E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#5AA42E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA42E
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA42E#FFFFFF#000000##000000
##5AA42E1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA961A
Deuteranopia (green-blind)
#A09039
Tritanopia (blue-blind)
#579E8D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5aa42e;
/* rgb */ color: rgb(90, 164, 46);
/* oklch */ color: oklch(64.7% 0.168 136.2);
Tailwind
colors: {
  custom: {
    50: '#8fbf6e',
    500: '#5aa42e',
    950: '#000000',
  },
}
SCSS
$custom: #5aa42e;
$custom-light: #8fbf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa42e",
  "rgb": {
    "r": 90,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 97.627,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64672,
    "c": 0.16783,
    "h": 136.2
  },
  "luminance": 0.28922
}

Semantic roles & 50–950 ramp

primary
#5AA42E
secondary
#A16EC0
accent
#48DFA7
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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