#5BAD1F#5BAD1F

#5BAD1F is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.0% C 0.186 H 135.8°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5BAD1F
RGBrgb(91, 173, 31)
HSLhsl(95, 70%, 40%)
HSVhsv(95, 82%, 68%)
CMYKcmyk(47.4%, 0%, 82.1%, 32.2%)
CIE-LABlab(63.52, -47.82, 58.99)
CIE-LCHlch(63.52, 75.94, 129.03°)
OKLaboklab(66.96% -0.1336 0.1299)
OKLCHoklch(66.96% 0.186 135.8)
XYZxyz(19.5048, 32.2089, 6.4852)
Luminance0.3221 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAD1F #711FAD
analogous
#A2AD1F #5BAD1F #1FAD2A
triadic
#5BAD1F #1F5BAD #AD1F5B
tetradic
#5BAD1F #1FA2AD #711FAD #AD2A1F
square
#5BAD1F #1FA2AD #711FAD #AD2A1F
split-complementary
#5BAD1F #2A1FAD #AD1FA2
monochromatic
#24450C #407916 #5BAD1F #77DA2F #99E363

Accessibility & contrast

On white

2.82
#5BAD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#5BAD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAD1F
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAD1F#FFFFFF#000000##000000
##5BAD1F1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A99730
Tritanopia (blue-blind)
#58A693
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5bad1f;
/* rgb */ color: rgb(91, 173, 31);
/* oklch */ color: oklch(67.0% 0.186 135.8);
Tailwind
colors: {
  custom: {
    50: '#91c668',
    500: '#5bad1f',
    950: '#000000',
  },
}
SCSS
$custom: #5bad1f;
$custom-light: #91c668;
$custom-dark: #000000;
JSON
{
  "hex": "#5bad1f",
  "rgb": {
    "r": 91,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 94.648,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.6696,
    "c": 0.18635,
    "h": 135.8
  },
  "luminance": 0.3221
}

Semantic roles & 50–950 ramp

primary
#5BAD1F
secondary
#9C60C8
accent
#3BECA2
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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