#76872F#76872F

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

Color values

HEX#76872F
RGBrgb(118, 135, 47)
HSLhsl(72, 48%, 36%)
HSVhsv(72, 65%, 53%)
CMYKcmyk(12.6%, 0%, 65.2%, 47.1%)
CIE-LABlab(53.37, -19.24, 43.75)
CIE-LCHlch(53.37, 47.79, 113.74°)
OKLaboklab(59.14% -0.0562 0.0998)
OKLCHoklch(59.14% 0.115 119.4)
XYZxyz(16.6485, 21.3848, 5.9394)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76872F #402F87
analogous
#876C2F #76872F #4A872F
triadic
#76872F #2F7687 #872F76
tetradic
#76872F #2F876C #402F87 #872F4A
square
#76872F #2F876C #402F87 #872F4A
split-complementary
#76872F #2F4A87 #6C2F87
monochromatic
#272C0F #4E5A1F #76872F #9EB43F #B7CA66

Accessibility & contrast

On white

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

On black

5.28
#76872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76872F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76872F#FFFFFF#000000##000000
##76872F1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#8E8035
Tritanopia (blue-blind)
#7D8075
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76872f;
/* rgb */ color: rgb(118, 135, 47);
/* oklch */ color: oklch(59.1% 0.115 119.4);
Tailwind
colors: {
  custom: {
    50: '#a0aa6c',
    500: '#76872f',
    950: '#000000',
  },
}
SCSS
$custom: #76872f;
$custom-light: #a0aa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#76872f",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 71.591,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.11454,
    "h": 119.4
  },
  "luminance": 0.21385
}

Semantic roles & 50–950 ramp

primary
#76872F
secondary
#7061B1
accent
#50D86A
background
#FAFAF6
surface
#F3F4EC
border
#CDCEC7
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #76872F

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

Preview Lab → · Contrast checker → · Palette generator →

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