#87781C#87781C

#87781C is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.108 H 99.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#87781C
RGBrgb(135, 120, 28)
HSLhsl(52, 66%, 32%)
HSVhsv(52, 79%, 53%)
CMYKcmyk(0%, 11.1%, 79.3%, 47.1%)
CIE-LABlab(50.30, -4.50, 48.89)
CIE-LCHlch(50.30, 49.09, 95.26°)
OKLaboklab(57% -0.0178 0.1067)
OKLCHoklch(57% 0.108 99.5)
XYZxyz(16.9186, 18.6685, 3.8106)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87781C #1C2B87
analogous
#87431C #87781C #61871C
triadic
#87781C #1C8778 #781C87
tetradic
#87781C #1C8743 #1C2B87 #871C61
square
#87781C #1C8743 #1C2B87 #871C61
split-complementary
#87781C #1C6187 #431C87
monochromatic
#221E07 #544B11 #87781C #BAA527 #D8C445

Accessibility & contrast

On white

4.44
#87781C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#87781C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87781C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87781C#FFFFFF#000000##000000
##87781C1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847507
Deuteranopia (green-blind)
#887A23
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87781c;
/* rgb */ color: rgb(135, 120, 28);
/* oklch */ color: oklch(57.0% 0.108 99.5);
Tailwind
colors: {
  custom: {
    50: '#ae9e60',
    500: '#87781c',
    950: '#000000',
  },
}
SCSS
$custom: #87781c;
$custom-light: #ae9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#87781c",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 51.589,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.1082,
    "h": 99.5
  },
  "luminance": 0.18668
}

Semantic roles & 50–950 ramp

primary
#87781C
secondary
#4555BA
accent
#57E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87781C

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

Preview Lab → · Contrast checker → · Palette generator →

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