#5F882C#5F882C

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

Color values

HEX#5F882C
RGBrgb(95, 136, 44)
HSLhsl(87, 51%, 35%)
HSVhsv(87, 68%, 53%)
CMYKcmyk(30.1%, 0%, 67.6%, 46.7%)
CIE-LABlab(52.09, -29.56, 43.24)
CIE-LCHlch(52.09, 52.38, 124.36°)
OKLaboklab(57.69% -0.0835 0.0988)
OKLCHoklch(57.69% 0.129 130.2)
XYZxyz(13.9780, 20.2227, 5.5493)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F882C #552C88
analogous
#88832C #5F882C #31882C
triadic
#5F882C #2C5F88 #882C5F
tetradic
#5F882C #2C8883 #552C88 #882C31
square
#5F882C #2C8883 #552C88 #882C31
split-complementary
#5F882C #2C3188 #832C88
monochromatic
#1E2C0E #3F5A1D #5F882C #7FB63B #9DCC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F882C#FFFFFF#000000##000000
##5F882C1.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)
#8E7E20
Deuteranopia (green-blind)
#897B33
Tritanopia (blue-blind)
#618275
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f882c;
/* rgb */ color: rgb(95, 136, 44);
/* oklch */ color: oklch(57.7% 0.129 130.2);
Tailwind
colors: {
  custom: {
    50: '#90ab6a',
    500: '#5f882c',
    950: '#000000',
  },
}
SCSS
$custom: #5f882c;
$custom-light: #90ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f882c",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 86.739,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.57693,
    "c": 0.12934,
    "h": 130.2
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#5F882C
secondary
#835DB3
accent
#4DDB8C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F882C

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

Preview Lab → · Contrast checker → · Palette generator →

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