#76871E#76871E

#76871E 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#76871E
RGBrgb(118, 135, 30)
HSLhsl(70, 64%, 32%)
HSVhsv(70, 78%, 53%)
CMYKcmyk(12.6%, 0%, 77.8%, 47.1%)
CIE-LABlab(53.25, -20.29, 50.39)
CIE-LCHlch(53.25, 54.32, 111.93°)
OKLaboklab(59% -0.0607 0.111)
OKLCHoklch(59% 0.127 118.7)
XYZxyz(16.3699, 21.2734, 4.4718)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76871E #2F1E87
analogous
#87631E #76871E #42871E
triadic
#76871E #1E7687 #871E76
tetradic
#76871E #1E8763 #2F1E87 #871E42
square
#76871E #1E8763 #2F1E87 #871E42
split-complementary
#76871E #1E4287 #631E87
monochromatic
#1E2308 #4A5513 #76871E #A2B929 #C0D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##76871E#FFFFFF#000000##000000
##76871E1.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)
#907F04
Deuteranopia (green-blind)
#8E8028
Tritanopia (blue-blind)
#7D7F73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #76871e;
/* rgb */ color: rgb(118, 135, 30);
/* oklch */ color: oklch(59.0% 0.127 118.7);
Tailwind
colors: {
  custom: {
    50: '#a1a963',
    500: '#76871e',
    950: '#000000',
  },
}
SCSS
$custom: #76871e;
$custom-light: #a1a963;
$custom-dark: #000000;
JSON
{
  "hex": "#76871e",
  "rgb": {
    "r": 118,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 69.714,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59003,
    "c": 0.1265,
    "h": 118.7
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#76871E
secondary
#5A48B9
accent
#41E75C
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #76871E

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

Preview Lab → · Contrast checker → · Palette generator →

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