#5AB316#5AB316

#5AB316 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.4% C 0.197 H 136.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5AB316
RGBrgb(90, 179, 22)
HSLhsl(94, 78%, 39%)
HSVhsv(94, 88%, 70%)
CMYKcmyk(49.7%, 0%, 87.7%, 29.8%)
CIE-LABlab(65.33, -50.82, 62.74)
CIE-LCHlch(65.33, 80.74, 129.01°)
OKLaboklab(68.44% -0.142 0.1366)
OKLCHoklch(68.44% 0.197 136.1)
XYZxyz(20.4808, 34.4704, 6.3331)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB316 #6F16B3
analogous
#A8B316 #5AB316 #16B321
triadic
#5AB316 #165AB3 #B3165A
tetradic
#5AB316 #16A8B3 #6F16B3 #B32116
square
#5AB316 #16A8B3 #6F16B3 #B32116
split-complementary
#5AB316 #2116B3 #B316A8
monochromatic
#234609 #3F7C0F #5AB316 #76E422 #98EB59

Accessibility & contrast

On white

2.66
#5AB316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#5AB316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB316
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB316#FFFFFF#000000##000000
##5AB3161.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA300
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#56AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab316;
/* rgb */ color: rgb(90, 179, 22);
/* oklch */ color: oklch(68.4% 0.197 136.1);
Tailwind
colors: {
  custom: {
    50: '#92ca66',
    500: '#5ab316',
    950: '#000000',
  },
}
SCSS
$custom: #5ab316;
$custom-light: #92ca66;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab316",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 94.013,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68435,
    "c": 0.19704,
    "h": 136.1
  },
  "luminance": 0.34472
}

Semantic roles & 50–950 ramp

primary
#5AB316
secondary
#9A57CE
accent
#33F5A1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB316

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

Preview Lab → · Contrast checker → · Palette generator →

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