#71872F#71872F

#71872F is a mid, moderate yellow-green. Relative luminance 0.210; OKLCH L 58.7% C 0.117 H 122.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#71872F
RGBrgb(113, 135, 47)
HSLhsl(75, 48%, 36%)
HSVhsv(75, 65%, 53%)
CMYKcmyk(16.3%, 0%, 65.2%, 47.1%)
CIE-LABlab(53.00, -21.40, 43.24)
CIE-LCHlch(53.00, 48.25, 116.33°)
OKLaboklab(58.75% -0.0618 0.0989)
OKLCHoklch(58.75% 0.117 122)
XYZxyz(15.9873, 21.0439, 5.9084)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71872F #452F87
analogous
#87712F #71872F #45872F
triadic
#71872F #2F7187 #872F71
tetradic
#71872F #2F8771 #452F87 #872F45
square
#71872F #2F8771 #452F87 #872F45
split-complementary
#71872F #2F4587 #712F87
monochromatic
#252C0F #4B5A1F #71872F #97B43F #B1CA66

Accessibility & contrast

On white

4.03
#71872F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#71872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71872F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71872F#FFFFFF#000000##000000
##71872F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F24
Deuteranopia (green-blind)
#8C7F35
Tritanopia (blue-blind)
#778075
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #71872f;
/* rgb */ color: rgb(113, 135, 47);
/* oklch */ color: oklch(58.7% 0.117 122.0);
Tailwind
colors: {
  custom: {
    50: '#9caa6c',
    500: '#71872f',
    950: '#000000',
  },
}
SCSS
$custom: #71872f;
$custom-light: #9caa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#71872f",
  "rgb": {
    "r": 113,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 75,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58747,
    "c": 0.11662,
    "h": 122
  },
  "luminance": 0.21044
}

Semantic roles & 50–950 ramp

primary
#71872F
secondary
#7561B1
accent
#50D872
background
#F9FAF6
surface
#F2F4EC
border
#CCCEC7
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #71872F

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

Preview Lab → · Contrast checker → · Palette generator →

#71872F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva