#5B9926#5B9926

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

Color values

HEX#5B9926
RGBrgb(91, 153, 38)
HSLhsl(92, 60%, 37%)
HSVhsv(92, 75%, 60%)
CMYKcmyk(40.5%, 0%, 75.2%, 40%)
CIE-LABlab(57.22, -39.20, 50.81)
CIE-LCHlch(57.22, 64.17, 127.65°)
OKLaboklab(61.81% -0.1099 0.1138)
OKLCHoklch(61.81% 0.158 134)
XYZxyz(16.0552, 25.1457, 5.8410)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9926 #642699
analogous
#949926 #5B9926 #26992B
triadic
#5B9926 #265B99 #99265B
tetradic
#5B9926 #269499 #642699 #992B26
square
#5B9926 #269499 #642699 #992B26
split-complementary
#5B9926 #2B2699 #992694
monochromatic
#21370E #3E681A #5B9926 #78CA32 #98D862

Accessibility & contrast

On white

3.48
#5B9926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B9926#FFFFFF#000000##000000
##5B99261.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D0F
Deuteranopia (green-blind)
#978831
Tritanopia (blue-blind)
#5B9383
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5b9926;
/* rgb */ color: rgb(91, 153, 38);
/* oklch */ color: oklch(61.8% 0.158 134.0);
Tailwind
colors: {
  custom: {
    50: '#8fb769',
    500: '#5b9926',
    950: '#000000',
  },
}
SCSS
$custom: #5b9926;
$custom-light: #8fb769;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9926",
  "rgb": {
    "r": 91,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 92.348,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61805,
    "c": 0.15825,
    "h": 134
  },
  "luminance": 0.25147
}

Semantic roles & 50–950 ramp

primary
#5B9926
secondary
#915EBD
accent
#44E39A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5B9926

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

Preview Lab → · Contrast checker → · Palette generator →

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