#5AA42F#5AA42F

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

Color values

HEX#5AA42F
RGBrgb(90, 164, 47)
HSLhsl(98, 55%, 41%)
HSVhsv(98, 71%, 64%)
CMYKcmyk(45.1%, 0%, 71.3%, 35.7%)
CIE-LABlab(60.72, -43.53, 50.94)
CIE-LCHlch(60.72, 67.00, 130.52°)
OKLaboklab(64.68% -0.1209 0.1154)
OKLCHoklch(64.68% 0.167 136.3)
XYZxyz(18.0045, 28.9287, 7.3239)
Luminance0.2893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA42F #792FA4
analogous
#95A42F #5AA42F #2FA43F
triadic
#5AA42F #2F5AA4 #A42F5A
tetradic
#5AA42F #2F95A4 #792FA4 #A43F2F
square
#5AA42F #2F95A4 #792FA4 #A43F2F
split-complementary
#5AA42F #3F2FA4 #A42F95
monochromatic
#264514 #407421 #5AA42F #77CA46 #9AD876

Accessibility & contrast

On white

3.09
#5AA42F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#5AA42F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA42F
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA42F#FFFFFF#000000##000000
##5AA42F1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5aa42f;
/* rgb */ color: rgb(90, 164, 47);
/* oklch */ color: oklch(64.7% 0.167 136.3);
Tailwind
colors: {
  custom: {
    50: '#8fbf6f',
    500: '#5aa42f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa42f;
$custom-light: #8fbf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa42f",
  "rgb": {
    "r": 90,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 97.949,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.16718,
    "h": 136.3
  },
  "luminance": 0.2893
}

Semantic roles & 50–950 ramp

primary
#5AA42F
secondary
#A26FC0
accent
#49DFA8
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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