#5F882A#5F882A

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

Color values

HEX#5F882A
RGBrgb(95, 136, 42)
HSLhsl(86, 53%, 35%)
HSVhsv(86, 69%, 53%)
CMYKcmyk(30.1%, 0%, 69.1%, 46.7%)
CIE-LABlab(52.07, -29.72, 44.08)
CIE-LCHlch(52.07, 53.17, 123.99°)
OKLaboklab(57.67% -0.0841 0.1003)
OKLCHoklch(57.67% 0.131 130)
XYZxyz(13.9413, 20.2080, 5.3560)
Luminance0.2021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F882A #532A88
analogous
#88822A #5F882A #30882A
triadic
#5F882A #2A5F88 #882A5F
tetradic
#5F882A #2A8882 #532A88 #882A30
square
#5F882A #2A8882 #532A88 #882A30
split-complementary
#5F882A #2A3088 #822A88
monochromatic
#1E2A0D #3E591C #5F882A #80B738 #9DCE5F

Accessibility & contrast

On white

4.17
#5F882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F882A#FFFFFF#000000##000000
##5F882A1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f882a;
/* rgb */ color: rgb(95, 136, 42);
/* oklch */ color: oklch(57.7% 0.131 130.0);
Tailwind
colors: {
  custom: {
    50: '#90ab69',
    500: '#5f882a',
    950: '#000000',
  },
}
SCSS
$custom: #5f882a;
$custom-light: #90ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#5f882a",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 86.17,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.13088,
    "h": 130
  },
  "luminance": 0.20208
}

Semantic roles & 50–950 ramp

primary
#5F882A
secondary
#815BB3
accent
#4CDC8B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F882A

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

Preview Lab → · Contrast checker → · Palette generator →

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