#76871B#76871B

#76871B 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#76871B
RGBrgb(118, 135, 27)
HSLhsl(69, 67%, 32%)
HSVhsv(69, 80%, 53%)
CMYKcmyk(12.6%, 0%, 80%, 47.1%)
CIE-LABlab(53.23, -20.43, 51.36)
CIE-LCHlch(53.23, 55.28, 111.69°)
OKLaboklab(58.99% -0.0613 0.1125)
OKLCHoklch(58.99% 0.128 118.6)
XYZxyz(16.3334, 21.2588, 4.2796)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76871B #2C1B87
analogous
#87621B #76871B #40871B
triadic
#76871B #1B7687 #871B76
tetradic
#76871B #1B8762 #2C1B87 #871B40
square
#76871B #1B8762 #2C1B87 #871B40
split-complementary
#76871B #1B4087 #621B87
monochromatic
#1D2107 #495411 #76871B #A3BA25 #C2D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76871B#FFFFFF#000000##000000
##76871B1.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)
#8E8025
Tritanopia (blue-blind)
#7E7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76871b;
/* rgb */ color: rgb(118, 135, 27);
/* oklch */ color: oklch(59.0% 0.128 118.6);
Tailwind
colors: {
  custom: {
    50: '#a1a962',
    500: '#76871b',
    950: '#000000',
  },
}
SCSS
$custom: #76871b;
$custom-light: #a1a962;
$custom-dark: #000000;
JSON
{
  "hex": "#76871b",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 69.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58985,
    "c": 0.12814,
    "h": 118.6
  },
  "luminance": 0.21259
}

Semantic roles & 50–950 ramp

primary
#76871B
secondary
#5644BA
accent
#3EEA59
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #76871B

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

Preview Lab → · Contrast checker → · Palette generator →

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