#5AA62B#5AA62B

#5AA62B 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.92:1 contrast (WCAG AA passes).

Color values

HEX#5AA62B
RGBrgb(90, 166, 43)
HSLhsl(97, 59%, 41%)
HSVhsv(97, 74%, 65%)
CMYKcmyk(45.8%, 0%, 74.1%, 34.9%)
CIE-LABlab(61.32, -44.64, 53.05)
CIE-LCHlch(61.32, 69.33, 130.08°)
OKLaboklab(65.17% -0.1242 0.1193)
OKLCHoklch(65.17% 0.172 136.2)
XYZxyz(18.2882, 29.6194, 7.0385)
Luminance0.2962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA62B #772BA6
analogous
#97A62B #5AA62B #2BA639
triadic
#5AA62B #2B5AA6 #A62B5A
tetradic
#5AA62B #2B97A6 #772BA6 #A6392B
square
#5AA62B #2B97A6 #772BA6 #A6392B
split-complementary
#5AA62B #392BA6 #A62B97
monochromatic
#254512 #40751E #5AA62B #76CE41 #99DA71

Accessibility & contrast

On white

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

On black

6.92
#5AA62B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA62B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA62B#FFFFFF#000000##000000
##5AA62B1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9813
Deuteranopia (green-blind)
#A29237
Tritanopia (blue-blind)
#57A08E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5aa62b;
/* rgb */ color: rgb(90, 166, 43);
/* oklch */ color: oklch(65.2% 0.172 136.2);
Tailwind
colors: {
  custom: {
    50: '#8fc16d',
    500: '#5aa62b',
    950: '#000000',
  },
}
SCSS
$custom: #5aa62b;
$custom-light: #8fc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa62b",
  "rgb": {
    "r": 90,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 97.073,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65169,
    "c": 0.17222,
    "h": 136.2
  },
  "luminance": 0.29621
}

Semantic roles & 50–950 ramp

primary
#5AA62B
secondary
#A16BC1
accent
#46E2A6
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA62B

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

Preview Lab → · Contrast checker → · Palette generator →

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