#5B8316#5B8316

#5B8316 is a mid, vivid yellow-green. Relative luminance 0.185; OKLCH L 56.0% C 0.139 H 128.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#5B8316
RGBrgb(91, 131, 22)
HSLhsl(82, 71%, 30%)
HSVhsv(82, 83%, 51%)
CMYKcmyk(30.5%, 0%, 83.2%, 48.6%)
CIE-LABlab(50.11, -30.19, 49.38)
CIE-LCHlch(50.11, 57.88, 121.44°)
OKLaboklab(55.98% -0.0867 0.1083)
OKLCHoklch(55.98% 0.139 128.7)
XYZxyz(12.5755, 18.5143, 3.6700)
Luminance0.1852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8316 #3E1683
analogous
#837416 #5B8316 #258316
triadic
#5B8316 #165B83 #83165B
tetradic
#5B8316 #168374 #3E1683 #831625
square
#5B8316 #168374 #3E1683 #831625
split-complementary
#5B8316 #162583 #741683
monochromatic
#121A04 #374F0D #5B8316 #7FB71F #A0DD36

Accessibility & contrast

On white

4.47
#5B8316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5B8316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8316
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8316#FFFFFF#000000##000000
##5B83161.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#5E7D6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5b8316;
/* rgb */ color: rgb(91, 131, 22);
/* oklch */ color: oklch(56.0% 0.139 128.7);
Tailwind
colors: {
  custom: {
    50: '#8da75e',
    500: '#5b8316',
    950: '#000000',
  },
}
SCSS
$custom: #5b8316;
$custom-light: #8da75e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8316",
  "rgb": {
    "r": 91,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 82.018,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.13874,
    "h": 128.7
  },
  "luminance": 0.18515
}

Semantic roles & 50–950 ramp

primary
#5B8316
secondary
#6A3DB7
accent
#3AEE7C
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5B8316

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

Preview Lab → · Contrast checker → · Palette generator →

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