#87721E#87721E

#87721E is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.7% C 0.102 H 94.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#87721E
RGBrgb(135, 114, 30)
HSLhsl(48, 64%, 32%)
HSVhsv(48, 78%, 53%)
CMYKcmyk(0%, 15.6%, 77.8%, 47.1%)
CIE-LABlab(48.61, -1.02, 46.57)
CIE-LCHlch(48.61, 46.58, 91.26°)
OKLaboklab(55.67% -0.0077 0.1022)
OKLCHoklch(55.67% 0.103 94.3)
XYZxyz(16.2442, 17.2802, 3.7078)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87721E #1E3387
analogous
#873E1E #87721E #68871E
triadic
#87721E #1E8772 #721E87
tetradic
#87721E #1E873E #1E3387 #871E68
square
#87721E #1E873E #1E3387 #871E68
split-complementary
#87721E #1E6887 #3E1E87
monochromatic
#231D08 #554813 #87721E #B99C29 #D7BA49

Accessibility & contrast

On white

4.71
#87721E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#87721E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87721E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87721E#FFFFFF#000000##FFFFFF
##87721E1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700F
Deuteranopia (green-blind)
#847623
Tritanopia (blue-blind)
#926862
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #87721e;
/* rgb */ color: rgb(135, 114, 30);
/* oklch */ color: oklch(55.7% 0.102 94.3);
Tailwind
colors: {
  custom: {
    50: '#ae9a61',
    500: '#87721e',
    950: '#000000',
  },
}
SCSS
$custom: #87721e;
$custom-light: #ae9a61;
$custom-dark: #000000;
JSON
{
  "hex": "#87721e",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 30
  },
  "hsl": {
    "h": 48,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5567,
    "c": 0.1025,
    "h": 94.3
  },
  "luminance": 0.17279
}

Semantic roles & 50–950 ramp

primary
#87721E
secondary
#485FB9
accent
#62E741
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #87721E

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

Preview Lab → · Contrast checker → · Palette generator →

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