#5B9518#5B9518

#5B9518 is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.7% C 0.160 H 132.5°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#5B9518
RGBrgb(91, 149, 24)
HSLhsl(88, 72%, 34%)
HSVhsv(88, 84%, 58%)
CMYKcmyk(38.9%, 0%, 83.9%, 41.6%)
CIE-LABlab(55.87, -38.23, 54.00)
CIE-LCHlch(55.87, 66.16, 125.30°)
OKLaboklab(60.68% -0.1083 0.1184)
OKLCHoklch(60.68% 0.16 132.5)
XYZxyz(15.2265, 23.7843, 4.6525)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9518 #521895
analogous
#959118 #5B9518 #1D9518
triadic
#5B9518 #185B95 #95185B
tetradic
#5B9518 #189591 #521895 #95181D
square
#5B9518 #189591 #521895 #95181D
split-complementary
#5B9518 #181D95 #911895
monochromatic
#1B2C07 #3B6010 #5B9518 #7BCA20 #99E146

Accessibility & contrast

On white

3.65
#5B9518 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#5B9518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9518
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9518#FFFFFF#000000##000000
##5B95181.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#948427
Tritanopia (blue-blind)
#5C8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5b9518;
/* rgb */ color: rgb(91, 149, 24);
/* oklch */ color: oklch(60.7% 0.160 132.5);
Tailwind
colors: {
  custom: {
    50: '#8fb462',
    500: '#5b9518',
    950: '#000000',
  },
}
SCSS
$custom: #5b9518;
$custom-light: #8fb462;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9518",
  "rgb": {
    "r": 91,
    "g": 149,
    "b": 24
  },
  "hsl": {
    "h": 87.84,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.1604,
    "h": 132.5
  },
  "luminance": 0.23785
}

Semantic roles & 50–950 ramp

primary
#5B9518
secondary
#8046C2
accent
#39EF8D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9518

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

Preview Lab → · Contrast checker → · Palette generator →

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