#5AA62C#5AA62C

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

Color values

HEX#5AA62C
RGBrgb(90, 166, 44)
HSLhsl(97, 58%, 41%)
HSVhsv(97, 73%, 65%)
CMYKcmyk(45.8%, 0%, 73.5%, 34.9%)
CIE-LABlab(61.33, -44.57, 52.69)
CIE-LCHlch(61.33, 69.01, 130.23°)
OKLaboklab(65.18% -0.124 0.1187)
OKLCHoklch(65.18% 0.172 136.2)
XYZxyz(18.3068, 29.6268, 7.1363)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA62C #782CA6
analogous
#97A62C #5AA62C #2CA63B
triadic
#5AA62C #2C5AA6 #A62C5A
tetradic
#5AA62C #2C97A6 #782CA6 #A63B2C
square
#5AA62C #2C97A6 #782CA6 #A63B2C
split-complementary
#5AA62C #3B2CA6 #A62C97
monochromatic
#264512 #40761F #5AA62C #77CD42 #9ADA73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA62C#FFFFFF#000000##000000
##5AA62C1.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)
#AC9815
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#57A08E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5aa62c;
/* rgb */ color: rgb(90, 166, 44);
/* oklch */ color: oklch(65.2% 0.172 136.2);
Tailwind
colors: {
  custom: {
    50: '#8fc16d',
    500: '#5aa62c',
    950: '#000000',
  },
}
SCSS
$custom: #5aa62c;
$custom-light: #8fc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa62c",
  "rgb": {
    "r": 90,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 97.377,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.65176,
    "c": 0.17161,
    "h": 136.2
  },
  "luminance": 0.29628
}

Semantic roles & 50–950 ramp

primary
#5AA62C
secondary
#A16DC1
accent
#46E1A7
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA62C

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

Preview Lab → · Contrast checker → · Palette generator →

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