#5B882A#5B882A

#5B882A is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.4% C 0.133 H 131.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5B882A
RGBrgb(91, 136, 42)
HSLhsl(89, 53%, 35%)
HSVhsv(89, 69%, 53%)
CMYKcmyk(33.1%, 0%, 69.1%, 46.7%)
CIE-LABlab(51.84, -31.29, 43.76)
CIE-LCHlch(51.84, 53.80, 125.56°)
OKLaboklab(57.42% -0.0881 0.0997)
OKLCHoklch(57.42% 0.133 131.5)
XYZxyz(13.5363, 19.9992, 5.3371)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B882A #572A88
analogous
#88862A #5B882A #2C882A
triadic
#5B882A #2A5B88 #882A5B
tetradic
#5B882A #2A8886 #572A88 #882A2C
square
#5B882A #2A8886 #572A88 #882A2C
split-complementary
#5B882A #2A2C88 #862A88
monochromatic
#1C2A0D #3C591C #5B882A #7AB738 #99CE5F

Accessibility & contrast

On white

4.20
#5B882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5B882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B882A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B882A#FFFFFF#000000##000000
##5B882A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1D
Deuteranopia (green-blind)
#887A32
Tritanopia (blue-blind)
#5D8275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5b882a;
/* rgb */ color: rgb(91, 136, 42);
/* oklch */ color: oklch(57.4% 0.133 131.5);
Tailwind
colors: {
  custom: {
    50: '#8dab69',
    500: '#5b882a',
    950: '#000000',
  },
}
SCSS
$custom: #5b882a;
$custom-light: #8dab69;
$custom-dark: #000000;
JSON
{
  "hex": "#5b882a",
  "rgb": {
    "r": 91,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 88.723,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57421,
    "c": 0.13305,
    "h": 131.5
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#5B882A
secondary
#855BB3
accent
#4CDC91
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #5B882A

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

Preview Lab → · Contrast checker → · Palette generator →

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