#5F882B#5F882B

#5F882B is a mid, vivid yellow-green. Relative luminance 0.202; OKLCH L 57.7% C 0.130 H 130.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#5F882B
RGBrgb(95, 136, 43)
HSLhsl(86, 52%, 35%)
HSVhsv(86, 68%, 53%)
CMYKcmyk(30.1%, 0%, 68.4%, 46.7%)
CIE-LABlab(52.08, -29.64, 43.66)
CIE-LCHlch(52.08, 52.78, 124.17°)
OKLaboklab(57.68% -0.0838 0.0995)
OKLCHoklch(57.68% 0.13 130.1)
XYZxyz(13.9594, 20.2152, 5.4515)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F882B #542B88
analogous
#88832B #5F882B #30882B
triadic
#5F882B #2B5F88 #882B5F
tetradic
#5F882B #2B8883 #542B88 #882B30
square
#5F882B #2B8883 #542B88 #882B30
split-complementary
#5F882B #2B3088 #832B88
monochromatic
#1E2B0E #3F5A1C #5F882B #7FB63A #9DCD61

Accessibility & contrast

On white

4.16
#5F882B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#5F882B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F882B
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F882B#FFFFFF#000000##000000
##5F882B1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1E
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#618275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f882b;
/* rgb */ color: rgb(95, 136, 43);
/* oklch */ color: oklch(57.7% 0.130 130.1);
Tailwind
colors: {
  custom: {
    50: '#90ab69',
    500: '#5f882b',
    950: '#000000',
  },
}
SCSS
$custom: #5f882b;
$custom-light: #90ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#5f882b",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 86.452,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.13012,
    "h": 130.1
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#5F882B
secondary
#825CB3
accent
#4CDB8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F882B

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

Preview Lab → · Contrast checker → · Palette generator →

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