#5BAF23#5BAF23

#5BAF23 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.187 H 136.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5BAF23
RGBrgb(91, 175, 35)
HSLhsl(96, 67%, 41%)
HSVhsv(96, 80%, 69%)
CMYKcmyk(48%, 0%, 80%, 31.4%)
CIE-LABlab(64.16, -48.40, 58.44)
CIE-LCHlch(64.16, 75.88, 129.63°)
OKLaboklab(67.5% -0.1349 0.1294)
OKLCHoklch(67.5% 0.187 136.2)
XYZxyz(19.9472, 33.0041, 6.9091)
Luminance0.3301 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAF23 #7723AF
analogous
#A1AF23 #5BAF23 #23AF31
triadic
#5BAF23 #235BAF #AF235B
tetradic
#5BAF23 #23A1AF #7723AF #AF3123
square
#5BAF23 #23A1AF #7723AF #AF3123
split-complementary
#5BAF23 #3123AF #AF23A1
monochromatic
#26490F #407C19 #5BAF23 #78D738 #9AE16B

Accessibility & contrast

On white

2.76
#5BAF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#5BAF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAF23
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAF23#FFFFFF#000000##000000
##5BAF231.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#AA9933
Tritanopia (blue-blind)
#57A895
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5baf23;
/* rgb */ color: rgb(91, 175, 35);
/* oklch */ color: oklch(67.5% 0.187 136.2);
Tailwind
colors: {
  custom: {
    50: '#91c76a',
    500: '#5baf23',
    950: '#000000',
  },
}
SCSS
$custom: #5baf23;
$custom-light: #91c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#5baf23",
  "rgb": {
    "r": 91,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 96,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67499,
    "c": 0.18692,
    "h": 136.2
  },
  "luminance": 0.33005
}

Semantic roles & 50–950 ramp

primary
#5BAF23
secondary
#A166C7
accent
#3EEAA5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5BAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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