#5AB31D#5AB31D

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

Color values

HEX#5AB31D
RGBrgb(90, 179, 29)
HSLhsl(96, 72%, 41%)
HSVhsv(96, 84%, 70%)
CMYKcmyk(49.7%, 0%, 83.8%, 29.8%)
CIE-LABlab(65.36, -50.55, 61.16)
CIE-LCHlch(65.36, 79.35, 129.57°)
OKLaboklab(68.46% -0.1409 0.1342)
OKLCHoklch(68.46% 0.195 136.4)
XYZxyz(20.5577, 34.5011, 6.7383)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB31D #761DB3
analogous
#A5B31D #5AB31D #1DB32B
triadic
#5AB31D #1D5AB3 #B31D5A
tetradic
#5AB31D #1DA5B3 #761DB3 #B32B1D
square
#5AB31D #1DA5B3 #761DB3 #B32B1D
split-complementary
#5AB31D #2B1DB3 #B31DA5
monochromatic
#254A0C #407E14 #5AB31D #76DD30 #99E664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB31D#FFFFFF#000000##000000
##5AB31D1.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)
#B9A300
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#55AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab31d;
/* rgb */ color: rgb(90, 179, 29);
/* oklch */ color: oklch(68.5% 0.195 136.4);
Tailwind
colors: {
  custom: {
    50: '#92ca68',
    500: '#5ab31d',
    950: '#000000',
  },
}
SCSS
$custom: #5ab31d;
$custom-light: #92ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab31d",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 95.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68462,
    "c": 0.19463,
    "h": 136.4
  },
  "luminance": 0.34503
}

Semantic roles & 50–950 ramp

primary
#5AB31D
secondary
#A061CB
accent
#39EFA5
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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