#5B9623#5B9623

#5B9623 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.0% C 0.156 H 133.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5B9623
RGBrgb(91, 150, 35)
HSLhsl(91, 62%, 36%)
HSVhsv(91, 77%, 59%)
CMYKcmyk(39.3%, 0%, 76.7%, 41.2%)
CIE-LABlab(56.25, -38.09, 50.92)
CIE-LCHlch(56.25, 63.59, 126.80°)
OKLaboklab(61% -0.1071 0.1136)
OKLCHoklch(61% 0.156 133.3)
XYZxyz(15.5239, 24.1575, 5.4347)
Luminance0.2416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9623 #5E2396
analogous
#959623 #5B9623 #239625
triadic
#5B9623 #235B96 #96235B
tetradic
#5B9623 #239596 #5E2396 #962523
square
#5B9623 #239596 #5E2396 #962523
split-complementary
#5B9623 #252396 #962395
monochromatic
#1F330C #3D6417 #5B9623 #79C82F #98D95B

Accessibility & contrast

On white

3.60
#5B9623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5B9623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9623
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9623#FFFFFF#000000##000000
##5B96231.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A09
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#5B9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b9623;
/* rgb */ color: rgb(91, 150, 35);
/* oklch */ color: oklch(61.0% 0.156 133.3);
Tailwind
colors: {
  custom: {
    50: '#8fb567',
    500: '#5b9623',
    950: '#000000',
  },
}
SCSS
$custom: #5b9623;
$custom-light: #8fb567;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9623",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 35
  },
  "hsl": {
    "h": 90.783,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61003,
    "c": 0.15617,
    "h": 133.3
  },
  "luminance": 0.24158
}

Semantic roles & 50–950 ramp

primary
#5B9623
secondary
#8C58BD
accent
#43E596
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9623

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

Preview Lab → · Contrast checker → · Palette generator →

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