#71872B#71872B

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

Color values

HEX#71872B
RGBrgb(113, 135, 43)
HSLhsl(74, 52%, 35%)
HSVhsv(74, 68%, 53%)
CMYKcmyk(16.3%, 0%, 68.1%, 47.1%)
CIE-LABlab(52.96, -21.70, 44.96)
CIE-LCHlch(52.96, 49.92, 115.76°)
OKLaboklab(58.71% -0.0631 0.1019)
OKLCHoklch(58.71% 0.12 121.8)
XYZxyz(15.9103, 21.0131, 5.5028)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71872B #412B87
analogous
#876F2B #71872B #43872B
triadic
#71872B #2B7187 #872B71
tetradic
#71872B #2B876F #412B87 #872B43
square
#71872B #2B876F #412B87 #872B43
split-complementary
#71872B #2B4387 #6F2B87
monochromatic
#232A0D #4A591C #71872B #98B53A #B2CC60

Accessibility & contrast

On white

4.04
#71872B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#71872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71872B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71872B#FFFFFF#000000##000000
##71872B1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F1E
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#778074
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #71872b;
/* rgb */ color: rgb(113, 135, 43);
/* oklch */ color: oklch(58.7% 0.120 121.8);
Tailwind
colors: {
  custom: {
    50: '#9caa6a',
    500: '#71872b',
    950: '#000000',
  },
}
SCSS
$custom: #71872b;
$custom-light: #9caa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#71872b",
  "rgb": {
    "r": 113,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 74.348,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58709,
    "c": 0.11984,
    "h": 121.8
  },
  "luminance": 0.21013
}

Semantic roles & 50–950 ramp

primary
#71872B
secondary
#705BB2
accent
#4DDB6F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #71872B

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

Preview Lab → · Contrast checker → · Palette generator →

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