#76872A#76872A

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

Color values

HEX#76872A
RGBrgb(118, 135, 42)
HSLhsl(71, 53%, 35%)
HSVhsv(71, 69%, 53%)
CMYKcmyk(12.6%, 0%, 68.9%, 47.1%)
CIE-LABlab(53.33, -19.60, 45.88)
CIE-LCHlch(53.33, 49.89, 113.13°)
OKLaboklab(59.09% -0.0577 0.1036)
OKLCHoklch(59.09% 0.119 119.1)
XYZxyz(16.5534, 21.3468, 5.4383)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76872A #3B2A87
analogous
#876A2A #76872A #47872A
triadic
#76872A #2A7687 #872A76
tetradic
#76872A #2A876A #3B2A87 #872A47
square
#76872A #2A876A #3B2A87 #872A47
split-complementary
#76872A #2A4787 #6A2A87
monochromatic
#242A0D #4D581B #76872A #9FB639 #B9CD5E

Accessibility & contrast

On white

3.99
#76872A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##76872A#FFFFFF#000000##000000
##76872A1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1D
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#7D8074
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76872a;
/* rgb */ color: rgb(118, 135, 42);
/* oklch */ color: oklch(59.1% 0.119 119.1);
Tailwind
colors: {
  custom: {
    50: '#a0aa69',
    500: '#76872a',
    950: '#000000',
  },
}
SCSS
$custom: #76872a;
$custom-light: #a0aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#76872a",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 70.968,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59092,
    "c": 0.11852,
    "h": 119.1
  },
  "luminance": 0.21347
}

Semantic roles & 50–950 ramp

primary
#76872A
secondary
#6A5AB3
accent
#4CDC66
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1007
muted
#7F7F7A

Preview Lab

Preview with #76872A

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

Preview Lab → · Contrast checker → · Palette generator →

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