#5AA226#5AA226

#5AA226 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.1% C 0.170 H 135.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5AA226
RGBrgb(90, 162, 38)
HSLhsl(95, 62%, 39%)
HSVhsv(95, 77%, 64%)
CMYKcmyk(44.4%, 0%, 76.5%, 36.5%)
CIE-LABlab(60.03, -43.33, 53.54)
CIE-LCHlch(60.03, 68.87, 128.98°)
OKLaboklab(64.09% -0.121 0.1196)
OKLCHoklch(64.09% 0.17 135.3)
XYZxyz(17.4862, 28.1532, 6.3461)
Luminance0.2815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA226 #6E26A2
analogous
#98A226 #5AA226 #26A230
triadic
#5AA226 #265AA2 #A2265A
tetradic
#5AA226 #2698A2 #6E26A2 #A23026
square
#5AA226 #2698A2 #6E26A2 #A23026
split-complementary
#5AA226 #3026A2 #A22698
monochromatic
#233F0F #3E701A #5AA226 #76D035 #98DB67

Accessibility & contrast

On white

3.17
#5AA226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5AA226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA226
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA226#FFFFFF#000000##000000
##5AA2261.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89409
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#589C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa226;
/* rgb */ color: rgb(90, 162, 38);
/* oklch */ color: oklch(64.1% 0.170 135.3);
Tailwind
colors: {
  custom: {
    50: '#8fbe6a',
    500: '#5aa226',
    950: '#000000',
  },
}
SCSS
$custom: #5aa226;
$custom-light: #8fbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa226",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 94.839,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64094,
    "c": 0.17013,
    "h": 135.3
  },
  "luminance": 0.28154
}

Semantic roles & 50–950 ramp

primary
#5AA226
secondary
#9A63C1
accent
#43E5A1
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA226

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

Preview Lab → · Contrast checker → · Palette generator →

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