#5B9E23#5B9E23

#5B9E23 is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.1% C 0.166 H 134.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5B9E23
RGBrgb(91, 158, 35)
HSLhsl(93, 64%, 38%)
HSVhsv(93, 78%, 62%)
CMYKcmyk(42.4%, 0%, 77.8%, 38%)
CIE-LABlab(58.79, -41.51, 53.37)
CIE-LCHlch(58.79, 67.61, 127.87°)
OKLaboklab(63.09% -0.1164 0.1187)
OKLCHoklch(63.09% 0.166 134.4)
XYZxyz(16.8443, 26.7983, 5.8748)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E23 #66239E
analogous
#989E23 #5B9E23 #239E28
triadic
#5B9E23 #235B9E #9E235B
tetradic
#5B9E23 #23989E #66239E #9E2823
square
#5B9E23 #23989E #66239E #9E2823
split-complementary
#5B9E23 #28239E #9E2398
monochromatic
#213A0D #3E6C18 #5B9E23 #78D02E #98DC60

Accessibility & contrast

On white

3.30
#5B9E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5B9E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E23
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E23#FFFFFF#000000##000000
##5B9E231.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49103
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9e23;
/* rgb */ color: rgb(91, 158, 35);
/* oklch */ color: oklch(63.1% 0.166 134.4);
Tailwind
colors: {
  custom: {
    50: '#8fbb68',
    500: '#5b9e23',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e23;
$custom-light: #8fbb68;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e23",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 92.683,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63085,
    "c": 0.16626,
    "h": 134.4
  },
  "luminance": 0.26799
}

Semantic roles & 50–950 ramp

primary
#5B9E23
secondary
#935CC1
accent
#41E79B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5B9E23

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

Preview Lab → · Contrast checker → · Palette generator →

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