#5B8116#5B8116

#5B8116 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.5% C 0.136 H 128.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5B8116
RGBrgb(91, 129, 22)
HSLhsl(81, 71%, 30%)
HSVhsv(81, 83%, 51%)
CMYKcmyk(29.5%, 0%, 82.9%, 49.4%)
CIE-LABlab(49.47, -29.25, 48.81)
CIE-LCHlch(49.47, 56.90, 120.93°)
OKLaboklab(55.46% -0.0842 0.1071)
OKLCHoklch(55.46% 0.136 128.2)
XYZxyz(12.3095, 17.9823, 3.5813)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8116 #3C1681
analogous
#817116 #5B8116 #268116
triadic
#5B8116 #165B81 #81165B
tetradic
#5B8116 #168171 #3C1681 #811626
square
#5B8116 #168171 #3C1681 #811626
split-complementary
#5B8116 #162681 #711681
monochromatic
#121A04 #364D0D #5B8116 #80B51F #A1DD35

Accessibility & contrast

On white

4.57
#5B8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5B8116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8116
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8116#FFFFFF#000000##000000
##5B81161.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#5E7B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b8116;
/* rgb */ color: rgb(91, 129, 22);
/* oklch */ color: oklch(55.5% 0.136 128.2);
Tailwind
colors: {
  custom: {
    50: '#8da55e',
    500: '#5b8116',
    950: '#000000',
  },
}
SCSS
$custom: #5b8116;
$custom-light: #8da55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8116",
  "rgb": {
    "r": 91,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 81.308,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55458,
    "c": 0.13619,
    "h": 128.2
  },
  "luminance": 0.17983
}

Semantic roles & 50–950 ramp

primary
#5B8116
secondary
#683DB6
accent
#3AEE7A
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5B8116

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

Preview Lab → · Contrast checker → · Palette generator →

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