#5B881E#5B881E

#5B881E is a mid, vivid yellow-green. Relative luminance 0.199; OKLCH L 57.3% C 0.141 H 130.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5B881E
RGBrgb(91, 136, 30)
HSLhsl(85, 64%, 33%)
HSVhsv(85, 78%, 53%)
CMYKcmyk(33.1%, 0%, 77.9%, 46.7%)
CIE-LABlab(51.75, -32.11, 48.34)
CIE-LCHlch(51.75, 58.03, 123.60°)
OKLaboklab(57.33% -0.0913 0.1074)
OKLCHoklch(57.33% 0.141 130.4)
XYZxyz(13.3528, 19.9258, 4.3706)
Luminance0.1993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B881E #4B1E88
analogous
#88801E #5B881E #26881E
triadic
#5B881E #1E5B88 #881E5B
tetradic
#5B881E #1E8880 #4B1E88 #881E26
square
#5B881E #1E8880 #4B1E88 #881E26
split-complementary
#5B881E #1E2688 #801E88
monochromatic
#182408 #395613 #5B881E #7DBA29 #9BD749

Accessibility & contrast

On white

4.21
#5B881E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5B881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B881E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B881E#FFFFFF#000000##000000
##5B881E1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D05
Deuteranopia (green-blind)
#887A29
Tritanopia (blue-blind)
#5D8274
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5b881e;
/* rgb */ color: rgb(91, 136, 30);
/* oklch */ color: oklch(57.3% 0.141 130.4);
Tailwind
colors: {
  custom: {
    50: '#8eab63',
    500: '#5b881e',
    950: '#000000',
  },
}
SCSS
$custom: #5b881e;
$custom-light: #8eab63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b881e",
  "rgb": {
    "r": 91,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 85.472,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.141,
    "h": 130.4
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#5B881E
secondary
#7849B9
accent
#41E787
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5B881E

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

Preview Lab → · Contrast checker → · Palette generator →

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