#87781E#87781E

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

Color values

HEX#87781E
RGBrgb(135, 120, 30)
HSLhsl(51, 64%, 32%)
HSVhsv(51, 78%, 53%)
CMYKcmyk(0%, 11.1%, 77.8%, 47.1%)
CIE-LABlab(50.31, -4.41, 48.17)
CIE-LCHlch(50.31, 48.37, 95.24°)
OKLaboklab(57.01% -0.0174 0.1056)
OKLCHoklch(57.01% 0.107 99.3)
XYZxyz(16.9433, 18.6784, 3.9409)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87781E #1E2D87
analogous
#87441E #87781E #61871E
triadic
#87781E #1E8778 #781E87
tetradic
#87781E #1E8744 #1E2D87 #871E61
square
#87781E #1E8744 #1E2D87 #871E61
split-complementary
#87781E #1E6187 #441E87
monochromatic
#231F08 #554B13 #87781E #B9A529 #D7C249

Accessibility & contrast

On white

4.43
#87781E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#87781E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87781E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87781E#FFFFFF#000000##000000
##87781E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84750C
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87781e;
/* rgb */ color: rgb(135, 120, 30);
/* oklch */ color: oklch(57.0% 0.107 99.3);
Tailwind
colors: {
  custom: {
    50: '#ad9e61',
    500: '#87781e',
    950: '#000000',
  },
}
SCSS
$custom: #87781e;
$custom-light: #ad9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#87781e",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 51.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57014,
    "c": 0.10703,
    "h": 99.3
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#87781E
secondary
#4858B9
accent
#59E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #87781E

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

Preview Lab → · Contrast checker → · Palette generator →

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