#5F882E#5F882E

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

Color values

HEX#5F882E
RGBrgb(95, 136, 46)
HSLhsl(87, 49%, 36%)
HSVhsv(87, 66%, 53%)
CMYKcmyk(30.1%, 0%, 66.2%, 46.7%)
CIE-LABlab(52.11, -29.40, 42.38)
CIE-LCHlch(52.11, 51.58, 124.75°)
OKLaboklab(57.71% -0.0828 0.0972)
OKLCHoklch(57.71% 0.128 130.4)
XYZxyz(14.0165, 20.2381, 5.7521)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F882E #572E88
analogous
#88842E #5F882E #32882E
triadic
#5F882E #2E5F88 #882E5F
tetradic
#5F882E #2E8884 #572E88 #882E32
square
#5F882E #2E8884 #572E88 #882E32
split-complementary
#5F882E #2E3288 #842E88
monochromatic
#1F2D0F #3F5A1F #5F882E #7FB63D #9DCB65

Accessibility & contrast

On white

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

On black

5.05
#5F882E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F882E
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F882E#FFFFFF#000000##000000
##5F882E1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E23
Deuteranopia (green-blind)
#887B35
Tritanopia (blue-blind)
#618275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f882e;
/* rgb */ color: rgb(95, 136, 46);
/* oklch */ color: oklch(57.7% 0.128 130.4);
Tailwind
colors: {
  custom: {
    50: '#8fab6b',
    500: '#5f882e',
    950: '#000000',
  },
}
SCSS
$custom: #5f882e;
$custom-light: #8fab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f882e",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 46
  },
  "hsl": {
    "h": 87.333,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57713,
    "c": 0.12775,
    "h": 130.4
  },
  "luminance": 0.20238
}

Semantic roles & 50–950 ramp

primary
#5F882E
secondary
#8560B2
accent
#4FD98E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F882E

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

Preview Lab → · Contrast checker → · Palette generator →

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