#5B9923#5B9923

#5B9923 is a mid, vivid yellow-green. Relative luminance 0.251; OKLCH L 61.8% C 0.160 H 133.8°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#5B9923
RGBrgb(91, 153, 35)
HSLhsl(92, 63%, 37%)
HSVhsv(92, 77%, 60%)
CMYKcmyk(40.5%, 0%, 77.1%, 40%)
CIE-LABlab(57.20, -39.39, 51.84)
CIE-LCHlch(57.20, 65.11, 127.22°)
OKLaboklab(61.78% -0.1106 0.1156)
OKLCHoklch(61.78% 0.16 133.8)
XYZxyz(16.0087, 25.1272, 5.5963)
Luminance0.2513 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9923 #612399
analogous
#969923 #5B9923 #239926
triadic
#5B9923 #235B99 #99235B
tetradic
#5B9923 #239699 #612399 #992623
square
#5B9923 #239699 #612399 #992623
split-complementary
#5B9923 #262399 #992396
monochromatic
#20350C #3D6718 #5B9923 #79CB2E #98DA5D

Accessibility & contrast

On white

3.49
#5B9923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#5B9923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9923
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9923#FFFFFF#000000##000000
##5B99231.003.496.036.03
#FFFFFF3.491.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C06
Deuteranopia (green-blind)
#97882F
Tritanopia (blue-blind)
#5B9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b9923;
/* rgb */ color: rgb(91, 153, 35);
/* oklch */ color: oklch(61.8% 0.160 133.8);
Tailwind
colors: {
  custom: {
    50: '#8fb767',
    500: '#5b9923',
    950: '#000000',
  },
}
SCSS
$custom: #5b9923;
$custom-light: #8fb767;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9923",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 91.525,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61784,
    "c": 0.15999,
    "h": 133.8
  },
  "luminance": 0.25128
}

Semantic roles & 50–950 ramp

primary
#5B9923
secondary
#8E59BE
accent
#42E698
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9923

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

Preview Lab → · Contrast checker → · Palette generator →

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