#5B8110#5B8110

#5B8110 is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.139 H 127.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5B8110
RGBrgb(91, 129, 16)
HSLhsl(80, 78%, 28%)
HSVhsv(80, 88%, 51%)
CMYKcmyk(29.5%, 0%, 87.6%, 49.4%)
CIE-LABlab(49.45, -29.49, 50.42)
CIE-LCHlch(49.45, 58.41, 120.33°)
OKLaboklab(55.43% -0.0852 0.1095)
OKLCHoklch(55.43% 0.139 127.9)
XYZxyz(12.2582, 17.9618, 3.3112)
Luminance0.1796 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8110 #361081
analogous
#816E10 #5B8110 #228110
triadic
#5B8110 #105B81 #81105B
tetradic
#5B8110 #10816E #361081 #811022
square
#5B8110 #10816E #361081 #811022
split-complementary
#5B8110 #102281 #6E1081
monochromatic
#131B03 #354B09 #5B8110 #81B717 #A5E427

Accessibility & contrast

On white

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

On black

4.59
#5B8110 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8110
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8110#FFFFFF#000000##000000
##5B81101.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#5F7B6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5b8110;
/* rgb */ color: rgb(91, 129, 16);
/* oklch */ color: oklch(55.4% 0.139 127.9);
Tailwind
colors: {
  custom: {
    50: '#8ea55c',
    500: '#5b8110',
    950: '#000000',
  },
}
SCSS
$custom: #5b8110;
$custom-light: #8ea55c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8110",
  "rgb": {
    "r": 91,
    "g": 129,
    "b": 16
  },
  "hsl": {
    "h": 80.177,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5543,
    "c": 0.13876,
    "h": 127.9
  },
  "luminance": 0.17962
}

Semantic roles & 50–950 ramp

primary
#5B8110
secondary
#6136B7
accent
#33F474
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5B8110

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

Preview Lab → · Contrast checker → · Palette generator →

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