#5AB326#5AB326

#5AB326 is a light, vivid yellow-green. Relative luminance 0.346; OKLCH L 68.5% C 0.191 H 136.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5AB326
RGBrgb(90, 179, 38)
HSLhsl(98, 65%, 43%)
HSVhsv(98, 79%, 70%)
CMYKcmyk(49.7%, 0%, 78.8%, 29.8%)
CIE-LABlab(65.40, -50.10, 58.68)
CIE-LCHlch(65.40, 77.16, 130.49°)
OKLaboklab(68.51% -0.1392 0.1303)
OKLCHoklch(68.51% 0.191 136.9)
XYZxyz(20.6858, 34.5523, 7.4126)
Luminance0.3455 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB326 #7F26B3
analogous
#A1B326 #5AB326 #26B338
triadic
#5AB326 #265AB3 #B3265A
tetradic
#5AB326 #26A1B3 #7F26B3 #B33826
square
#5AB326 #26A1B3 #7F26B3 #B33826
split-complementary
#5AB326 #3826B3 #B326A1
monochromatic
#274E11 #41811B #5AB326 #77D640 #9BE172

Accessibility & contrast

On white

2.65
#5AB326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#5AB326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB326
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB326#FFFFFF#000000##000000
##5AB3261.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AE9C36
Tritanopia (blue-blind)
#55AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab326;
/* rgb */ color: rgb(90, 179, 38);
/* oklch */ color: oklch(68.5% 0.191 136.9);
Tailwind
colors: {
  custom: {
    50: '#91ca6c',
    500: '#5ab326',
    950: '#000000',
  },
}
SCSS
$custom: #5ab326;
$custom-light: #91ca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab326",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 38
  },
  "hsl": {
    "h": 97.872,
    "s": 64.977,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68508,
    "c": 0.19071,
    "h": 136.9
  },
  "luminance": 0.34554
}

Semantic roles & 50–950 ramp

primary
#5AB326
secondary
#A66DC8
accent
#40E8AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB326

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

Preview Lab → · Contrast checker → · Palette generator →

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