#5AAA26#5AAA26

#5AAA26 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.180 H 136.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5AAA26
RGBrgb(90, 170, 38)
HSLhsl(96, 63%, 41%)
HSVhsv(96, 78%, 67%)
CMYKcmyk(47.1%, 0%, 77.6%, 33.3%)
CIE-LABlab(62.56, -46.57, 55.98)
CIE-LCHlch(62.56, 72.82, 129.76°)
OKLaboklab(66.17% -0.1297 0.1247)
OKLCHoklch(66.17% 0.18 136.1)
XYZxyz(18.9405, 31.0618, 6.8308)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA26 #7626AA
analogous
#9CAA26 #5AAA26 #26AA34
triadic
#5AAA26 #265AAA #AA265A
tetradic
#5AAA26 #269CAA #7626AA #AA3426
square
#5AAA26 #269CAA #7626AA #AA3426
split-complementary
#5AAA26 #3426AA #AA269C
monochromatic
#254610 #40781B #5AAA26 #76D33A #99DE6C

Accessibility & contrast

On white

2.91
#5AAA26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5AAA26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA26
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA26#FFFFFF#000000##000000
##5AAA261.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B02
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#56A491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa26;
/* rgb */ color: rgb(90, 170, 38);
/* oklch */ color: oklch(66.2% 0.180 136.1);
Tailwind
colors: {
  custom: {
    50: '#90c46b',
    500: '#5aaa26',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa26;
$custom-light: #90c46b;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa26",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 38
  },
  "hsl": {
    "h": 96.364,
    "s": 63.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66174,
    "c": 0.17994,
    "h": 136.1
  },
  "luminance": 0.31063
}

Semantic roles & 50–950 ramp

primary
#5AAA26
secondary
#A067C5
accent
#41E6A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5AAA26

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

Preview Lab → · Contrast checker → · Palette generator →

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