#5AB318#5AB318

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

Color values

HEX#5AB318
RGBrgb(90, 179, 24)
HSLhsl(94, 76%, 40%)
HSVhsv(94, 87%, 70%)
CMYKcmyk(49.7%, 0%, 86.6%, 29.8%)
CIE-LABlab(65.34, -50.75, 62.32)
CIE-LCHlch(65.34, 80.37, 129.16°)
OKLaboklab(68.44% -0.1417 0.136)
OKLCHoklch(68.44% 0.196 136.2)
XYZxyz(20.5009, 34.4784, 6.4387)
Luminance0.3448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB318 #7118B3
analogous
#A7B318 #5AB318 #18B324
triadic
#5AB318 #185AB3 #B3185A
tetradic
#5AB318 #18A7B3 #7118B3 #B32418
square
#5AB318 #18A7B3 #7118B3 #B32418
split-complementary
#5AB318 #2418B3 #B318A7
monochromatic
#24470A #3F7D11 #5AB318 #76E226 #98E95C

Accessibility & contrast

On white

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

On black

7.90
#5AB318 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB318
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB318#FFFFFF#000000##000000
##5AB3181.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ab318;
/* rgb */ color: rgb(90, 179, 24);
/* oklch */ color: oklch(68.4% 0.196 136.2);
Tailwind
colors: {
  custom: {
    50: '#92ca67',
    500: '#5ab318',
    950: '#000000',
  },
}
SCSS
$custom: #5ab318;
$custom-light: #92ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab318",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 24
  },
  "hsl": {
    "h": 94.452,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68442,
    "c": 0.1964,
    "h": 136.2
  },
  "luminance": 0.3448
}

Semantic roles & 50–950 ramp

primary
#5AB318
secondary
#9C5ACD
accent
#35F3A2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB318

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

Preview Lab → · Contrast checker → · Palette generator →

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