#5B9019#5B9019

#5B9019 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.154 H 131.7°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5B9019
RGBrgb(91, 144, 25)
HSLhsl(87, 70%, 33%)
HSVhsv(87, 83%, 56%)
CMYKcmyk(36.8%, 0%, 82.6%, 43.5%)
CIE-LABlab(54.28, -36.00, 52.28)
CIE-LCHlch(54.28, 63.48, 124.55°)
OKLaboklab(59.38% -0.1022 0.1149)
OKLCHoklch(59.38% 0.154 131.7)
XYZxyz(14.4630, 22.2403, 4.4503)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9019 #4E1990
analogous
#908919 #5B9019 #1F9019
triadic
#5B9019 #195B90 #90195B
tetradic
#5B9019 #199089 #4E1990 #90191F
square
#5B9019 #199089 #4E1990 #90191F
split-complementary
#5B9019 #191F90 #891990
monochromatic
#192807 #3A5C10 #5B9019 #7CC422 #9ADF45

Accessibility & contrast

On white

3.85
#5B9019 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5B9019 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9019
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9019#FFFFFF#000000##000000
##5B90191.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#8F8027
Tritanopia (blue-blind)
#5C8A7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b9019;
/* rgb */ color: rgb(91, 144, 25);
/* oklch */ color: oklch(59.4% 0.154 131.7);
Tailwind
colors: {
  custom: {
    50: '#8eb162',
    500: '#5b9019',
    950: '#000000',
  },
}
SCSS
$custom: #5b9019;
$custom-light: #8eb162;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9019",
  "rgb": {
    "r": 91,
    "g": 144,
    "b": 25
  },
  "hsl": {
    "h": 86.723,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59381,
    "c": 0.15376,
    "h": 131.7
  },
  "luminance": 0.22241
}

Semantic roles & 50–950 ramp

primary
#5B9019
secondary
#7C45C0
accent
#3BED8A
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B9019

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

Preview Lab → · Contrast checker → · Palette generator →

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