#5B9619#5B9619

#5B9619 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 60.9% C 0.161 H 132.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5B9619
RGBrgb(91, 150, 25)
HSLhsl(88, 71%, 34%)
HSVhsv(88, 83%, 59%)
CMYKcmyk(39.3%, 0%, 83.3%, 41.2%)
CIE-LABlab(56.19, -38.62, 54.01)
CIE-LCHlch(56.19, 66.40, 125.57°)
OKLaboklab(60.95% -0.1092 0.1185)
OKLCHoklch(60.95% 0.161 132.7)
XYZxyz(15.3960, 24.1063, 4.7613)
Luminance0.2411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9619 #541996
analogous
#969319 #5B9619 #1C9619
triadic
#5B9619 #195B96 #96195B
tetradic
#5B9619 #199693 #541996 #96191C
square
#5B9619 #199693 #541996 #96191C
split-complementary
#5B9619 #191C96 #931996
monochromatic
#1B2D08 #3B6210 #5B9619 #7BCA22 #99E149

Accessibility & contrast

On white

3.61
#5B9619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5B9619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9619
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9619#FFFFFF#000000##000000
##5B96191.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#5C9080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5b9619;
/* rgb */ color: rgb(91, 150, 25);
/* oklch */ color: oklch(60.9% 0.161 132.7);
Tailwind
colors: {
  custom: {
    50: '#8fb563',
    500: '#5b9619',
    950: '#000000',
  },
}
SCSS
$custom: #5b9619;
$custom-light: #8fb563;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9619",
  "rgb": {
    "r": 91,
    "g": 150,
    "b": 25
  },
  "hsl": {
    "h": 88.32,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.16121,
    "h": 132.7
  },
  "luminance": 0.24107
}

Semantic roles & 50–950 ramp

primary
#5B9619
secondary
#8249C2
accent
#3AEE8F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B9619

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

Preview Lab → · Contrast checker → · Palette generator →

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