#5B9B23#5B9B23

#5B9B23 is a light, vivid yellow-green. Relative luminance 0.258; OKLCH L 62.3% C 0.163 H 134.0°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5B9B23
RGBrgb(91, 155, 35)
HSLhsl(92, 63%, 37%)
HSVhsv(92, 77%, 61%)
CMYKcmyk(41.3%, 0%, 77.4%, 39.2%)
CIE-LABlab(57.83, -40.24, 52.46)
CIE-LCHlch(57.83, 66.11, 127.49°)
OKLaboklab(62.3% -0.113 0.1168)
OKLCHoklch(62.3% 0.163 134)
XYZxyz(16.3388, 25.7873, 5.7063)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9B23 #63239B
analogous
#979B23 #5B9B23 #239B27
triadic
#5B9B23 #235B9B #9B235B
tetradic
#5B9B23 #23979B #63239B #9B2723
square
#5B9B23 #23979B #63239B #9B2723
split-complementary
#5B9B23 #27239B #9B2397
monochromatic
#20370C #3E6918 #5B9B23 #78CD2E #98DB5E

Accessibility & contrast

On white

3.41
#5B9B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#5B9B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9B23
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9B23#FFFFFF#000000##000000
##5B9B231.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E05
Deuteranopia (green-blind)
#998930
Tritanopia (blue-blind)
#5A9584
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5b9b23;
/* rgb */ color: rgb(91, 155, 35);
/* oklch */ color: oklch(62.3% 0.163 134.0);
Tailwind
colors: {
  custom: {
    50: '#8fb968',
    500: '#5b9b23',
    950: '#000000',
  },
}
SCSS
$custom: #5b9b23;
$custom-light: #8fb968;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9b23",
  "rgb": {
    "r": 91,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 92,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62304,
    "c": 0.16251,
    "h": 134
  },
  "luminance": 0.25788
}

Semantic roles & 50–950 ramp

primary
#5B9B23
secondary
#905ABF
accent
#42E699
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9B23

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

Preview Lab → · Contrast checker → · Palette generator →

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