#5B8916#5B8916

#5B8916 is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.5% C 0.146 H 130.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5B8916
RGBrgb(91, 137, 22)
HSLhsl(84, 72%, 31%)
HSVhsv(84, 84%, 54%)
CMYKcmyk(33.6%, 0%, 83.9%, 46.3%)
CIE-LABlab(52.03, -32.98, 51.11)
CIE-LCHlch(52.03, 60.83, 122.83°)
OKLaboklab(57.54% -0.0942 0.1119)
OKLCHoklch(57.54% 0.146 130.1)
XYZxyz(13.4048, 20.1729, 3.9464)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8916 #441689
analogous
#897D16 #5B8916 #218916
triadic
#5B8916 #165B89 #89165B
tetradic
#5B8916 #16897D #441689 #891621
square
#5B8916 #16897D #441689 #891621
split-complementary
#5B8916 #162189 #7D1689
monochromatic
#152005 #38540E #5B8916 #7EBE1E #9DDF3A

Accessibility & contrast

On white

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

On black

5.03
#5B8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8916
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8916#FFFFFF#000000##000000
##5B89161.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b8916;
/* rgb */ color: rgb(91, 137, 22);
/* oklch */ color: oklch(57.5% 0.146 130.1);
Tailwind
colors: {
  custom: {
    50: '#8eab5f',
    500: '#5b8916',
    950: '#000000',
  },
}
SCSS
$custom: #5b8916;
$custom-light: #8eab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8916",
  "rgb": {
    "r": 91,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 84,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57541,
    "c": 0.14633,
    "h": 130.1
  },
  "luminance": 0.20173
}

Semantic roles & 50–950 ramp

primary
#5B8916
secondary
#713EBD
accent
#39EF82
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5B8916

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

Preview Lab → · Contrast checker → · Palette generator →

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