#5B8019#5B8019

#5B8019 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.2% C 0.133 H 128.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5B8019
RGBrgb(91, 128, 25)
HSLhsl(82, 67%, 30%)
HSVhsv(82, 80%, 50%)
CMYKcmyk(28.9%, 0%, 80.5%, 49.8%)
CIE-LABlab(49.17, -28.62, 47.59)
CIE-LCHlch(49.17, 55.53, 121.03°)
OKLaboklab(55.22% -0.0823 0.105)
OKLCHoklch(55.22% 0.133 128.1)
XYZxyz(12.2090, 17.7324, 3.6990)
Luminance0.1773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8019 #3E1980
analogous
#807119 #5B8019 #288019
triadic
#5B8019 #195B80 #80195B
tetradic
#5B8019 #198071 #3E1980 #801928
square
#5B8019 #198071 #3E1980 #801928
split-complementary
#5B8019 #192880 #711980
monochromatic
#121A05 #374D0F #5B8019 #7FB323 #A0D93B

Accessibility & contrast

On white

4.62
#5B8019 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5B8019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B8019
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8019#FFFFFF#000000##FFFFFF
##5B80191.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#5E7A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b8019;
/* rgb */ color: rgb(91, 128, 25);
/* oklch */ color: oklch(55.2% 0.133 128.1);
Tailwind
colors: {
  custom: {
    50: '#8da55f',
    500: '#5b8019',
    950: '#000000',
  },
}
SCSS
$custom: #5b8019;
$custom-light: #8da55f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8019",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 25
  },
  "hsl": {
    "h": 81.553,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.55215,
    "c": 0.13339,
    "h": 128.1
  },
  "luminance": 0.17733
}

Semantic roles & 50–950 ramp

primary
#5B8019
secondary
#6A41B4
accent
#3EEA7C
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5B8019

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

Preview Lab → · Contrast checker → · Palette generator →

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