#87722A#87722A

#87722A is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.8% C 0.094 H 92.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#87722A
RGBrgb(135, 114, 42)
HSLhsl(46, 53%, 35%)
HSVhsv(46, 69%, 53%)
CMYKcmyk(0%, 15.6%, 68.9%, 47.1%)
CIE-LABlab(48.70, -0.37, 41.53)
CIE-LCHlch(48.70, 41.53, 90.52°)
OKLaboklab(55.77% -0.0044 0.0939)
OKLCHoklch(55.77% 0.094 92.7)
XYZxyz(16.4277, 17.3536, 4.6743)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87722A #2A3F87
analogous
#87442A #87722A #6D872A
triadic
#87722A #2A8772 #722A87
tetradic
#87722A #2A8744 #2A3F87 #872A6D
square
#87722A #2A8744 #2A3F87 #872A6D
split-complementary
#87722A #2A6D87 #442A87
monochromatic
#2A230D #584B1B #87722A #B69939 #CDB45E

Accessibility & contrast

On white

4.70
#87722A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#87722A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87722A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87722A#FFFFFF#000000##FFFFFF
##87722A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7021
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#926963
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #87722a;
/* rgb */ color: rgb(135, 114, 42);
/* oklch */ color: oklch(55.8% 0.094 92.7);
Tailwind
colors: {
  custom: {
    50: '#ad9a67',
    500: '#87722a',
    950: '#000000',
  },
}
SCSS
$custom: #87722a;
$custom-light: #ad9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#87722a",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 42
  },
  "hsl": {
    "h": 46.452,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55771,
    "c": 0.09397,
    "h": 92.7
  },
  "luminance": 0.17353
}

Semantic roles & 50–950 ramp

primary
#87722A
secondary
#5A6EB3
accent
#6CDC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #87722A

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

Preview Lab → · Contrast checker → · Palette generator →

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