#87781A#87781A

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

Color values

HEX#87781A
RGBrgb(135, 120, 26)
HSLhsl(52, 68%, 32%)
HSVhsv(52, 81%, 53%)
CMYKcmyk(0%, 11.1%, 80.7%, 47.1%)
CIE-LABlab(50.29, -4.58, 49.57)
CIE-LCHlch(50.29, 49.78, 95.28°)
OKLaboklab(56.99% -0.0182 0.1078)
OKLCHoklch(56.99% 0.109 99.6)
XYZxyz(16.8955, 18.6593, 3.6887)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87781A #1A2987
analogous
#87421A #87781A #60871A
triadic
#87781A #1A8778 #781A87
tetradic
#87781A #1A8742 #1A2987 #871A60
square
#87781A #1A8742 #1A2987 #871A60
split-complementary
#87781A #1A6087 #421A87
monochromatic
#201D06 #544A10 #87781A #BAA624 #DAC541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87781A#FFFFFF#000000##000000
##87781A1.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)
#847503
Deuteranopia (green-blind)
#897A21
Tritanopia (blue-blind)
#926E66
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #87781a;
/* rgb */ color: rgb(135, 120, 26);
/* oklch */ color: oklch(57.0% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#ae9e5f',
    500: '#87781a',
    950: '#000000',
  },
}
SCSS
$custom: #87781a;
$custom-light: #ae9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#87781a",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 51.743,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56989,
    "c": 0.1093,
    "h": 99.6
  },
  "luminance": 0.18658
}

Semantic roles & 50–950 ramp

primary
#87781A
secondary
#4253BA
accent
#55EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87781A

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

Preview Lab → · Contrast checker → · Palette generator →

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