#71872A#71872A

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

Color values

HEX#71872A
RGBrgb(113, 135, 42)
HSLhsl(74, 53%, 35%)
HSVhsv(74, 69%, 53%)
CMYKcmyk(16.3%, 0%, 68.9%, 47.1%)
CIE-LABlab(52.96, -21.77, 45.38)
CIE-LCHlch(52.96, 50.33, 115.63°)
OKLaboklab(58.7% -0.0634 0.1026)
OKLCHoklch(58.7% 0.121 121.7)
XYZxyz(15.8922, 21.0058, 5.4073)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71872A #402A87
analogous
#876F2A #71872A #42872A
triadic
#71872A #2A7187 #872A71
tetradic
#71872A #2A876F #402A87 #872A42
square
#71872A #2A876F #402A87 #872A42
split-complementary
#71872A #2A4287 #6F2A87
monochromatic
#232A0D #4A581B #71872A #98B639 #B3CD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71872A#FFFFFF#000000##000000
##71872A1.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)
#8F7F1D
Deuteranopia (green-blind)
#8C7E31
Tritanopia (blue-blind)
#778074
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #71872a;
/* rgb */ color: rgb(113, 135, 42);
/* oklch */ color: oklch(58.7% 0.121 121.7);
Tailwind
colors: {
  custom: {
    50: '#9caa69',
    500: '#71872a',
    950: '#000000',
  },
}
SCSS
$custom: #71872a;
$custom-light: #9caa69;
$custom-dark: #000000;
JSON
{
  "hex": "#71872a",
  "rgb": {
    "r": 113,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 74.194,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.587,
    "c": 0.1206,
    "h": 121.7
  },
  "luminance": 0.21006
}

Semantic roles & 50–950 ramp

primary
#71872A
secondary
#6F5AB3
accent
#4CDC6E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #71872A

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

Preview Lab → · Contrast checker → · Palette generator →

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