#5F881E#5F881E

#5F881E is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.139 H 129.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5F881E
RGBrgb(95, 136, 30)
HSLhsl(83, 64%, 33%)
HSVhsv(83, 78%, 53%)
CMYKcmyk(30.1%, 0%, 77.9%, 46.7%)
CIE-LABlab(51.99, -30.53, 48.64)
CIE-LCHlch(51.99, 57.43, 122.11°)
OKLaboklab(57.58% -0.0873 0.108)
OKLCHoklch(57.58% 0.139 129)
XYZxyz(13.7578, 20.1346, 4.3896)
Luminance0.2014 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F881E #471E88
analogous
#887C1E #5F881E #2A881E
triadic
#5F881E #1E5F88 #881E5F
tetradic
#5F881E #1E887C #471E88 #881E2A
square
#5F881E #1E887C #471E88 #881E2A
split-complementary
#5F881E #1E2A88 #7C1E88
monochromatic
#192408 #3C5613 #5F881E #82BA29 #A0D749

Accessibility & contrast

On white

4.18
#5F881E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5F881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F881E
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F881E#FFFFFF#000000##000000
##5F881E1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E05
Deuteranopia (green-blind)
#897B29
Tritanopia (blue-blind)
#628274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5f881e;
/* rgb */ color: rgb(95, 136, 30);
/* oklch */ color: oklch(57.6% 0.139 129.0);
Tailwind
colors: {
  custom: {
    50: '#90ab63',
    500: '#5f881e',
    950: '#000000',
  },
}
SCSS
$custom: #5f881e;
$custom-light: #90ab63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f881e",
  "rgb": {
    "r": 95,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 83.208,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.13885,
    "h": 129
  },
  "luminance": 0.20135
}

Semantic roles & 50–950 ramp

primary
#5F881E
secondary
#7449B9
accent
#41E781
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F881E

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

Preview Lab → · Contrast checker → · Palette generator →

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