#76872D#76872D

#76872D is a mid, moderate yellow-green. Relative luminance 0.214; OKLCH L 59.1% C 0.116 H 119.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#76872D
RGBrgb(118, 135, 45)
HSLhsl(71, 50%, 35%)
HSVhsv(71, 67%, 53%)
CMYKcmyk(12.6%, 0%, 66.7%, 47.1%)
CIE-LABlab(53.35, -19.39, 44.61)
CIE-LCHlch(53.35, 48.65, 113.49°)
OKLaboklab(59.12% -0.0568 0.1014)
OKLCHoklch(59.12% 0.116 119.3)
XYZxyz(16.6091, 21.3691, 5.7318)
Luminance0.2137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76872D #3E2D87
analogous
#876B2D #76872D #49872D
triadic
#76872D #2D7687 #872D76
tetradic
#76872D #2D876B #3E2D87 #872D49
square
#76872D #2D876B #3E2D87 #872D49
split-complementary
#76872D #2D4987 #6B2D87
monochromatic
#262B0E #4E591E #76872D #9EB53C #B7CB63

Accessibility & contrast

On white

3.98
#76872D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#76872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76872D
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76872D#FFFFFF#000000##000000
##76872D1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F21
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#7D8075
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76872d;
/* rgb */ color: rgb(118, 135, 45);
/* oklch */ color: oklch(59.1% 0.116 119.3);
Tailwind
colors: {
  custom: {
    50: '#a0aa6b',
    500: '#76872d',
    950: '#000000',
  },
}
SCSS
$custom: #76872d;
$custom-light: #a0aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#76872d",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 71.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5912,
    "c": 0.11618,
    "h": 119.3
  },
  "luminance": 0.21369
}

Semantic roles & 50–950 ramp

primary
#76872D
secondary
#6E5EB2
accent
#4EDA69
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #76872D

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

Preview Lab → · Contrast checker → · Palette generator →

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