#5AA62F#5AA62F

#5AA62F is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.2% C 0.170 H 136.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5AA62F
RGBrgb(90, 166, 47)
HSLhsl(98, 56%, 42%)
HSVhsv(98, 72%, 65%)
CMYKcmyk(45.8%, 0%, 71.7%, 34.9%)
CIE-LABlab(61.35, -44.35, 51.58)
CIE-LCHlch(61.35, 68.03, 130.69°)
OKLaboklab(65.2% -0.1232 0.1168)
OKLCHoklch(65.2% 0.17 136.5)
XYZxyz(18.3652, 29.6502, 7.4441)
Luminance0.2965 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA62F #7B2FA6
analogous
#96A62F #5AA62F #2FA63F
triadic
#5AA62F #2F5AA6 #A62F5A
tetradic
#5AA62F #2F96A6 #7B2FA6 #A63F2F
square
#5AA62F #2F96A6 #7B2FA6 #A63F2F
split-complementary
#5AA62F #3F2FA6 #A62F96
monochromatic
#264714 #407621 #5AA62F #77CB47 #9AD877

Accessibility & contrast

On white

3.03
#5AA62F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5AA62F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA62F
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA62F#FFFFFF#000000##000000
##5AA62F1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981B
Deuteranopia (green-blind)
#A2923A
Tritanopia (blue-blind)
#56A08F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5aa62f;
/* rgb */ color: rgb(90, 166, 47);
/* oklch */ color: oklch(65.2% 0.170 136.5);
Tailwind
colors: {
  custom: {
    50: '#8fc16f',
    500: '#5aa62f',
    950: '#000000',
  },
}
SCSS
$custom: #5aa62f;
$custom-light: #8fc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa62f",
  "rgb": {
    "r": 90,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 98.319,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65199,
    "c": 0.16973,
    "h": 136.5
  },
  "luminance": 0.29651
}

Semantic roles & 50–950 ramp

primary
#5AA62F
secondary
#A470C1
accent
#49DFA9
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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