#5B8619#5B8619

#5B8619 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.8% C 0.141 H 129.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5B8619
RGBrgb(91, 134, 25)
HSLhsl(84, 69%, 31%)
HSVhsv(84, 81%, 53%)
CMYKcmyk(32.1%, 0%, 81.3%, 47.5%)
CIE-LABlab(51.09, -31.46, 49.36)
CIE-LCHlch(51.09, 58.53, 122.51°)
OKLaboklab(56.78% -0.0899 0.1087)
OKLCHoklch(56.78% 0.141 129.6)
XYZxyz(13.0149, 19.3441, 3.9676)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8619 #441986
analogous
#867A19 #5B8619 #248619
triadic
#5B8619 #195B86 #86195B
tetradic
#5B8619 #19867A #441986 #861924
square
#5B8619 #19867A #441986 #861924
split-complementary
#5B8619 #192486 #7A1986
monochromatic
#151F06 #38520F #5B8619 #7EBA23 #9DDB3E

Accessibility & contrast

On white

4.31
#5B8619 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5B8619 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8619
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8619#FFFFFF#000000##000000
##5B86191.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#877925
Tritanopia (blue-blind)
#5E8072
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5b8619;
/* rgb */ color: rgb(91, 134, 25);
/* oklch */ color: oklch(56.8% 0.141 129.6);
Tailwind
colors: {
  custom: {
    50: '#8ea960',
    500: '#5b8619',
    950: '#000000',
  },
}
SCSS
$custom: #5b8619;
$custom-light: #8ea960;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8619",
  "rgb": {
    "r": 91,
    "g": 134,
    "b": 25
  },
  "hsl": {
    "h": 83.67,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.14112,
    "h": 129.6
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#5B8619
secondary
#7141BA
accent
#3CEB81
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5B8619

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

Preview Lab → · Contrast checker → · Palette generator →

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