#76872C#76872C

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

Color values

HEX#76872C
RGBrgb(118, 135, 44)
HSLhsl(71, 51%, 35%)
HSVhsv(71, 67%, 53%)
CMYKcmyk(12.6%, 0%, 67.4%, 47.1%)
CIE-LABlab(53.34, -19.46, 45.04)
CIE-LCHlch(53.34, 49.06, 113.37°)
OKLaboklab(59.11% -0.0571 0.1021)
OKLCHoklch(59.11% 0.117 119.2)
XYZxyz(16.5901, 21.3614, 5.6316)
Luminance0.2136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76872C #3D2C87
analogous
#876B2C #76872C #48872C
triadic
#76872C #2C7687 #872C76
tetradic
#76872C #2C876B #3D2C87 #872C48
square
#76872C #2C876B #3D2C87 #872C48
split-complementary
#76872C #2C4887 #6B2C87
monochromatic
#252B0E #4E591D #76872C #9EB53B #B8CC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76872C#FFFFFF#000000##000000
##76872C1.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)
#907F20
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#7D8074
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76872c;
/* rgb */ color: rgb(118, 135, 44);
/* oklch */ color: oklch(59.1% 0.117 119.2);
Tailwind
colors: {
  custom: {
    50: '#a0aa6a',
    500: '#76872c',
    950: '#000000',
  },
}
SCSS
$custom: #76872c;
$custom-light: #a0aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#76872c",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 71.209,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5911,
    "c": 0.11697,
    "h": 119.2
  },
  "luminance": 0.21361
}

Semantic roles & 50–950 ramp

primary
#76872C
secondary
#6D5DB2
accent
#4DDA68
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #76872C

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

Preview Lab → · Contrast checker → · Palette generator →

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