#5AA626#5AA626

#5AA626 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.1% C 0.175 H 135.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#5AA626
RGBrgb(90, 166, 38)
HSLhsl(96, 63%, 40%)
HSVhsv(96, 77%, 65%)
CMYKcmyk(45.8%, 0%, 77.1%, 34.9%)
CIE-LABlab(61.29, -44.96, 54.76)
CIE-LCHlch(61.29, 70.86, 129.39°)
OKLaboklab(65.13% -0.1254 0.1221)
OKLCHoklch(65.13% 0.175 135.8)
XYZxyz(18.2021, 29.5849, 6.5847)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA626 #7226A6
analogous
#9AA626 #5AA626 #26A632
triadic
#5AA626 #265AA6 #A6265A
tetradic
#5AA626 #269AA6 #7226A6 #A63226
square
#5AA626 #269AA6 #7226A6 #A63226
split-complementary
#5AA626 #3226A6 #A6269A
monochromatic
#24420F #3F741B #5AA626 #76D138 #98DD6A

Accessibility & contrast

On white

3.04
#5AA626 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AA626#FFFFFF#000000##000000
##5AA6261.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5aa626;
/* rgb */ color: rgb(90, 166, 38);
/* oklch */ color: oklch(65.1% 0.175 135.8);
Tailwind
colors: {
  custom: {
    50: '#90c16a',
    500: '#5aa626',
    950: '#000000',
  },
}
SCSS
$custom: #5aa626;
$custom-light: #90c16a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa626",
  "rgb": {
    "r": 90,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 95.625,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.65134,
    "c": 0.17506,
    "h": 135.8
  },
  "luminance": 0.29586
}

Semantic roles & 50–950 ramp

primary
#5AA626
secondary
#9D65C3
accent
#42E6A3
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA626

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

Preview Lab → · Contrast checker → · Palette generator →

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