#5BAC23#5BAC23

#5BAC23 is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 66.7% C 0.183 H 135.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5BAC23
RGBrgb(91, 172, 35)
HSLhsl(95, 66%, 41%)
HSVhsv(95, 80%, 67%)
CMYKcmyk(47.1%, 0%, 79.7%, 32.5%)
CIE-LABlab(63.22, -47.22, 57.56)
CIE-LCHlch(63.22, 74.45, 129.36°)
OKLaboklab(66.72% -0.1317 0.1275)
OKLCHoklch(66.72% 0.183 135.9)
XYZxyz(19.3698, 31.8493, 6.7167)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAC23 #7423AC
analogous
#A0AC23 #5BAC23 #23AC2F
triadic
#5BAC23 #235BAC #AC235B
tetradic
#5BAC23 #23A0AC #7423AC #AC2F23
square
#5BAC23 #23A0AC #7423AC #AC2F23
split-complementary
#5BAC23 #2F23AC #AC23A0
monochromatic
#25460E #407919 #5BAC23 #77D636 #9AE069

Accessibility & contrast

On white

2.85
#5BAC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#5BAC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAC23
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAC23#FFFFFF#000000##000000
##5BAC231.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#58A593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5bac23;
/* rgb */ color: rgb(91, 172, 35);
/* oklch */ color: oklch(66.7% 0.183 135.9);
Tailwind
colors: {
  custom: {
    50: '#91c56a',
    500: '#5bac23',
    950: '#000000',
  },
}
SCSS
$custom: #5bac23;
$custom-light: #91c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#5bac23",
  "rgb": {
    "r": 91,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 95.474,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66721,
    "c": 0.18335,
    "h": 135.9
  },
  "luminance": 0.31851
}

Semantic roles & 50–950 ramp

primary
#5BAC23
secondary
#9E64C6
accent
#3FE9A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAC23

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

Preview Lab → · Contrast checker → · Palette generator →

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