#76871C#76871C

#76871C is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.0% C 0.128 H 118.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#76871C
RGBrgb(118, 135, 28)
HSLhsl(70, 66%, 32%)
HSVhsv(70, 79%, 53%)
CMYKcmyk(12.6%, 0%, 79.3%, 47.1%)
CIE-LABlab(53.24, -20.39, 51.05)
CIE-LCHlch(53.24, 54.97, 111.77°)
OKLaboklab(58.99% -0.0611 0.112)
OKLCHoklch(58.99% 0.128 118.6)
XYZxyz(16.3452, 21.2635, 4.3416)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76871C #2D1C87
analogous
#87631C #76871C #40871C
triadic
#76871C #1C7687 #871C76
tetradic
#76871C #1C8763 #2D1C87 #871C40
square
#76871C #1C8763 #2D1C87 #871C40
split-complementary
#76871C #1C4087 #631C87
monochromatic
#1D2207 #4A5411 #76871C #A2BA27 #C1D845

Accessibility & contrast

On white

4.00
#76871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#76871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #76871C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76871C#FFFFFF#000000##000000
##76871C1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8E8026
Tritanopia (blue-blind)
#7D7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76871c;
/* rgb */ color: rgb(118, 135, 28);
/* oklch */ color: oklch(59.0% 0.128 118.6);
Tailwind
colors: {
  custom: {
    50: '#a1a962',
    500: '#76871c',
    950: '#000000',
  },
}
SCSS
$custom: #76871c;
$custom-light: #a1a962;
$custom-dark: #000000;
JSON
{
  "hex": "#76871c",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 69.533,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58991,
    "c": 0.12761,
    "h": 118.6
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#76871C
secondary
#5745BA
accent
#3FE95A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #76871C

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

Preview Lab → · Contrast checker → · Palette generator →

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