#5AB31E#5AB31E

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

Color values

HEX#5AB31E
RGBrgb(90, 179, 30)
HSLhsl(96, 71%, 41%)
HSVhsv(96, 83%, 70%)
CMYKcmyk(49.7%, 0%, 83.2%, 29.8%)
CIE-LABlab(65.36, -50.50, 60.91)
CIE-LCHlch(65.36, 79.13, 129.66°)
OKLaboklab(68.47% -0.1408 0.1339)
OKLCHoklch(68.47% 0.194 136.4)
XYZxyz(20.5703, 34.5062, 6.8045)
Luminance0.3451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB31E #771EB3
analogous
#A4B31E #5AB31E #1EB32C
triadic
#5AB31E #1E5AB3 #B31E5A
tetradic
#5AB31E #1EA4B3 #771EB3 #B32C1E
square
#5AB31E #1EA4B3 #771EB3 #B32C1E
split-complementary
#5AB31E #2C1EB3 #B31EA4
monochromatic
#254A0C #407F15 #5AB31E #76DD32 #99E566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5AB31E#FFFFFF#000000##000000
##5AB31E1.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)
#AE9C31
Tritanopia (blue-blind)
#55AC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab31e;
/* rgb */ color: rgb(90, 179, 30);
/* oklch */ color: oklch(68.5% 0.194 136.4);
Tailwind
colors: {
  custom: {
    50: '#92ca69',
    500: '#5ab31e',
    950: '#000000',
  },
}
SCSS
$custom: #5ab31e;
$custom-light: #92ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab31e",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 95.839,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68467,
    "c": 0.19424,
    "h": 136.4
  },
  "luminance": 0.34508
}

Semantic roles & 50–950 ramp

primary
#5AB31E
secondary
#A162CB
accent
#3AEEA5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB31E

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

Preview Lab → · Contrast checker → · Palette generator →

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