#76871D#76871D

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

Color values

HEX#76871D
RGBrgb(118, 135, 29)
HSLhsl(70, 65%, 32%)
HSVhsv(70, 79%, 53%)
CMYKcmyk(12.6%, 0%, 78.5%, 47.1%)
CIE-LABlab(53.24, -20.34, 50.72)
CIE-LCHlch(53.24, 54.65, 111.85°)
OKLaboklab(59% -0.0609 0.1115)
OKLCHoklch(59% 0.127 118.7)
XYZxyz(16.3573, 21.2683, 4.4056)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76871D #2E1D87
analogous
#87631D #76871D #41871D
triadic
#76871D #1D7687 #871D76
tetradic
#76871D #1D8763 #2E1D87 #871D41
square
#76871D #1D8763 #2E1D87 #871D41
split-complementary
#76871D #1D4187 #631D87
monochromatic
#1E2207 #4A5512 #76871D #A2B928 #C0D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76871D#FFFFFF#000000##000000
##76871D1.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)
#907F02
Deuteranopia (green-blind)
#8E8027
Tritanopia (blue-blind)
#7D7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76871d;
/* rgb */ color: rgb(118, 135, 29);
/* oklch */ color: oklch(59.0% 0.127 118.7);
Tailwind
colors: {
  custom: {
    50: '#a1a962',
    500: '#76871d',
    950: '#000000',
  },
}
SCSS
$custom: #76871d;
$custom-light: #a1a962;
$custom-dark: #000000;
JSON
{
  "hex": "#76871d",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 69.623,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58997,
    "c": 0.12706,
    "h": 118.7
  },
  "luminance": 0.21268
}

Semantic roles & 50–950 ramp

primary
#76871D
secondary
#5946B9
accent
#40E85B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #76871D

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

Preview Lab → · Contrast checker → · Palette generator →

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