#5AB01F#5AB01F

#5AB01F is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.7% C 0.190 H 136.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5AB01F
RGBrgb(90, 176, 31)
HSLhsl(96, 70%, 41%)
HSVhsv(96, 82%, 69%)
CMYKcmyk(48.9%, 0%, 82.4%, 31%)
CIE-LABlab(64.42, -49.30, 59.80)
CIE-LCHlch(64.42, 77.50, 129.51°)
OKLaboklab(67.69% -0.1375 0.1317)
OKLCHoklch(67.69% 0.19 136.2)
XYZxyz(19.9886, 33.3219, 6.6746)
Luminance0.3332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB01F #751FB0
analogous
#A2B01F #5AB01F #1FB02C
triadic
#5AB01F #1F5AB0 #B01F5A
tetradic
#5AB01F #1FA2B0 #751FB0 #B02C1F
square
#5AB01F #1FA2B0 #751FB0 #B02C1F
split-complementary
#5AB01F #2C1FB0 #B01FA2
monochromatic
#25480D #3F7C16 #5AB01F #76DB31 #99E465

Accessibility & contrast

On white

2.74
#5AB01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#5AB01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB01F
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB01F#FFFFFF#000000##000000
##5AB01F1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#AB9A31
Tritanopia (blue-blind)
#56A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5ab01f;
/* rgb */ color: rgb(90, 176, 31);
/* oklch */ color: oklch(67.7% 0.190 136.2);
Tailwind
colors: {
  custom: {
    50: '#91c869',
    500: '#5ab01f',
    950: '#000000',
  },
}
SCSS
$custom: #5ab01f;
$custom-light: #91c869;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab01f",
  "rgb": {
    "r": 90,
    "g": 176,
    "b": 31
  },
  "hsl": {
    "h": 95.586,
    "s": 70.048,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67693,
    "c": 0.19036,
    "h": 136.2
  },
  "luminance": 0.33323
}

Semantic roles & 50–950 ramp

primary
#5AB01F
secondary
#9F62C9
accent
#3BEDA4
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB01F

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

Preview Lab → · Contrast checker → · Palette generator →

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