#5B8919#5B8919

#5B8919 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.6% C 0.145 H 130.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5B8919
RGBrgb(91, 137, 25)
HSLhsl(85, 69%, 32%)
HSVhsv(85, 82%, 54%)
CMYKcmyk(33.6%, 0%, 81.8%, 46.3%)
CIE-LABlab(52.05, -32.84, 50.24)
CIE-LCHlch(52.05, 60.02, 123.17°)
OKLaboklab(57.56% -0.0937 0.1106)
OKLCHoklch(57.56% 0.145 130.3)
XYZxyz(13.4354, 20.1852, 4.1078)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8919 #471989
analogous
#897F19 #5B8919 #238919
triadic
#5B8919 #195B89 #89195B
tetradic
#5B8919 #19897F #471989 #891923
square
#5B8919 #19897F #471989 #891923
split-complementary
#5B8919 #192389 #7F1989
monochromatic
#162106 #395510 #5B8919 #7DBD22 #9CDC40

Accessibility & contrast

On white

4.17
#5B8919 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5B8919 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8919
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8919#FFFFFF#000000##000000
##5B89191.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#5D8375
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b8919;
/* rgb */ color: rgb(91, 137, 25);
/* oklch */ color: oklch(57.6% 0.145 130.3);
Tailwind
colors: {
  custom: {
    50: '#8eab61',
    500: '#5b8919',
    950: '#000000',
  },
}
SCSS
$custom: #5b8919;
$custom-light: #8eab61;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8919",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 25
  },
  "hsl": {
    "h": 84.643,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.14493,
    "h": 130.3
  },
  "luminance": 0.20186
}

Semantic roles & 50–950 ramp

primary
#5B8919
secondary
#7441BC
accent
#3CEC84
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B8919

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

Preview Lab → · Contrast checker → · Palette generator →

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