#5B9D23#5B9D23

#5B9D23 is a light, vivid yellow-green. Relative luminance 0.265; OKLCH L 62.8% C 0.165 H 134.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5B9D23
RGBrgb(91, 157, 35)
HSLhsl(92, 64%, 38%)
HSVhsv(92, 78%, 62%)
CMYKcmyk(42%, 0%, 77.7%, 38.4%)
CIE-LABlab(58.47, -41.09, 53.07)
CIE-LCHlch(58.47, 67.11, 127.75°)
OKLaboklab(62.83% -0.1152 0.1181)
OKLCHoklch(62.83% 0.165 134.3)
XYZxyz(16.6744, 26.4585, 5.8182)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9D23 #65239D
analogous
#989D23 #5B9D23 #239D28
triadic
#5B9D23 #235B9D #9D235B
tetradic
#5B9D23 #23989D #65239D #9D2823
square
#5B9D23 #23989D #65239D #9D2823
split-complementary
#5B9D23 #28239D #9D2398
monochromatic
#21390D #3E6B18 #5B9D23 #78CF2E #98DB5F

Accessibility & contrast

On white

3.34
#5B9D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#5B9D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9D23
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9D23#FFFFFF#000000##000000
##5B9D231.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39003
Deuteranopia (green-blind)
#9A8B30
Tritanopia (blue-blind)
#5A9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9d23;
/* rgb */ color: rgb(91, 157, 35);
/* oklch */ color: oklch(62.8% 0.165 134.3);
Tailwind
colors: {
  custom: {
    50: '#8fba68',
    500: '#5b9d23',
    950: '#000000',
  },
}
SCSS
$custom: #5b9d23;
$custom-light: #8fba68;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9d23",
  "rgb": {
    "r": 91,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 92.459,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62825,
    "c": 0.16501,
    "h": 134.3
  },
  "luminance": 0.26459
}

Semantic roles & 50–950 ramp

primary
#5B9D23
secondary
#925CC0
accent
#41E79B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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