#5B8819#5B8819

#5B8819 is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.3% C 0.144 H 130.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5B8819
RGBrgb(91, 136, 25)
HSLhsl(84, 69%, 32%)
HSVhsv(84, 82%, 53%)
CMYKcmyk(33.1%, 0%, 81.6%, 46.7%)
CIE-LABlab(51.73, -32.38, 49.95)
CIE-LCHlch(51.73, 59.53, 122.95°)
OKLaboklab(57.3% -0.0924 0.11)
OKLCHoklch(57.3% 0.144 130.1)
XYZxyz(13.2940, 19.9022, 4.0606)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8819 #461988
analogous
#887E19 #5B8819 #248819
triadic
#5B8819 #195B88 #88195B
tetradic
#5B8819 #19887E #461988 #881924
square
#5B8819 #19887E #461988 #881924
split-complementary
#5B8819 #192488 #7E1988
monochromatic
#162106 #38540F #5B8819 #7EBC23 #9CDC40

Accessibility & contrast

On white

4.22
#5B8819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5B8819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8819
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8819#FFFFFF#000000##000000
##5B88191.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7D00
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#5E8274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b8819;
/* rgb */ color: rgb(91, 136, 25);
/* oklch */ color: oklch(57.3% 0.144 130.1);
Tailwind
colors: {
  custom: {
    50: '#8eab60',
    500: '#5b8819',
    950: '#000000',
  },
}
SCSS
$custom: #5b8819;
$custom-light: #8eab60;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8819",
  "rgb": {
    "r": 91,
    "g": 136,
    "b": 25
  },
  "hsl": {
    "h": 84.324,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.14366,
    "h": 130.1
  },
  "luminance": 0.19903
}

Semantic roles & 50–950 ramp

primary
#5B8819
secondary
#7341BB
accent
#3CEC83
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B8819

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

Preview Lab → · Contrast checker → · Palette generator →

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