#5BAA23#5BAA23

#5BAA23 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.181 H 135.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#5BAA23
RGBrgb(91, 170, 35)
HSLhsl(95, 66%, 40%)
HSVhsv(95, 79%, 67%)
CMYKcmyk(46.5%, 0%, 79.4%, 33.3%)
CIE-LABlab(62.59, -46.42, 56.97)
CIE-LCHlch(62.59, 73.49, 129.18°)
OKLaboklab(66.2% -0.1296 0.1263)
OKLCHoklch(66.2% 0.181 135.7)
XYZxyz(18.9920, 31.0937, 6.5907)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BAA23 #7223AA
analogous
#9FAA23 #5BAA23 #23AA2E
triadic
#5BAA23 #235BAA #AA235B
tetradic
#5BAA23 #239FAA #7223AA #AA2E23
square
#5BAA23 #239FAA #7223AA #AA2E23
split-complementary
#5BAA23 #2E23AA #AA239F
monochromatic
#25440E #407719 #5BAA23 #77D535 #99E068

Accessibility & contrast

On white

2.91
#5BAA23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#5BAA23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BAA23
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BAA23#FFFFFF#000000##000000
##5BAA231.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#58A391
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5baa23;
/* rgb */ color: rgb(91, 170, 35);
/* oklch */ color: oklch(66.2% 0.181 135.7);
Tailwind
colors: {
  custom: {
    50: '#91c46a',
    500: '#5baa23',
    950: '#000000',
  },
}
SCSS
$custom: #5baa23;
$custom-light: #91c46a;
$custom-dark: #000000;
JSON
{
  "hex": "#5baa23",
  "rgb": {
    "r": 91,
    "g": 170,
    "b": 35
  },
  "hsl": {
    "h": 95.111,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66203,
    "c": 0.18095,
    "h": 135.7
  },
  "luminance": 0.31095
}

Semantic roles & 50–950 ramp

primary
#5BAA23
secondary
#9D63C6
accent
#3FE9A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #5BAA23

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

Preview Lab → · Contrast checker → · Palette generator →

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