#71872D#71872D

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

Color values

HEX#71872D
RGBrgb(113, 135, 45)
HSLhsl(75, 50%, 35%)
HSVhsv(75, 67%, 53%)
CMYKcmyk(16.3%, 0%, 66.7%, 47.1%)
CIE-LABlab(52.98, -21.55, 44.11)
CIE-LCHlch(52.98, 49.09, 116.04°)
OKLaboklab(58.73% -0.0625 0.1004)
OKLCHoklch(58.73% 0.118 121.9)
XYZxyz(15.9479, 21.0281, 5.7008)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71872D #432D87
analogous
#87702D #71872D #44872D
triadic
#71872D #2D7187 #872D71
tetradic
#71872D #2D8770 #432D87 #872D44
square
#71872D #2D8770 #432D87 #872D44
split-complementary
#71872D #2D4487 #702D87
monochromatic
#242B0E #4B591E #71872D #97B53C #B2CB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71872D#FFFFFF#000000##000000
##71872D1.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)
#8F7F21
Deuteranopia (green-blind)
#8C7F34
Tritanopia (blue-blind)
#778074
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #71872d;
/* rgb */ color: rgb(113, 135, 45);
/* oklch */ color: oklch(58.7% 0.118 121.9);
Tailwind
colors: {
  custom: {
    50: '#9caa6b',
    500: '#71872d',
    950: '#000000',
  },
}
SCSS
$custom: #71872d;
$custom-light: #9caa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#71872d",
  "rgb": {
    "r": 113,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 74.667,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58727,
    "c": 0.11826,
    "h": 121.9
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#71872D
secondary
#735EB2
accent
#4EDA70
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #71872D

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

Preview Lab → · Contrast checker → · Palette generator →

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