#76872B#76872B

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

Color values

HEX#76872B
RGBrgb(118, 135, 43)
HSLhsl(71, 52%, 35%)
HSVhsv(71, 68%, 53%)
CMYKcmyk(12.6%, 0%, 68.1%, 47.1%)
CIE-LABlab(53.33, -19.53, 45.46)
CIE-LCHlch(53.33, 49.48, 113.25°)
OKLaboklab(59.1% -0.0574 0.1028)
OKLCHoklch(59.1% 0.118 119.2)
XYZxyz(16.5715, 21.3540, 5.5338)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76872B #3C2B87
analogous
#876A2B #76872B #48872B
triadic
#76872B #2B7687 #872B76
tetradic
#76872B #2B876A #3C2B87 #872B48
square
#76872B #2B876A #3C2B87 #872B48
split-complementary
#76872B #2B4887 #6A2B87
monochromatic
#252A0D #4D591C #76872B #9FB53A #B8CC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76872B#FFFFFF#000000##000000
##76872B1.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)
#907F1E
Deuteranopia (green-blind)
#8E8032
Tritanopia (blue-blind)
#7D8074
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76872b;
/* rgb */ color: rgb(118, 135, 43);
/* oklch */ color: oklch(59.1% 0.118 119.2);
Tailwind
colors: {
  custom: {
    50: '#a0aa6a',
    500: '#76872b',
    950: '#000000',
  },
}
SCSS
$custom: #76872b;
$custom-light: #a0aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#76872b",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 71.087,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59101,
    "c": 0.11775,
    "h": 119.2
  },
  "luminance": 0.21354
}

Semantic roles & 50–950 ramp

primary
#76872B
secondary
#6C5BB2
accent
#4DDB67
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #76872B

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

Preview Lab → · Contrast checker → · Palette generator →

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