#87722F#87722F

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

Color values

HEX#87722F
RGBrgb(135, 114, 47)
HSLhsl(46, 48%, 36%)
HSVhsv(46, 65%, 53%)
CMYKcmyk(0%, 15.6%, 65.2%, 47.1%)
CIE-LABlab(48.75, -0.04, 39.19)
CIE-LCHlch(48.75, 39.19, 90.06°)
OKLaboklab(55.82% -0.0028 0.0897)
OKLCHoklch(55.82% 0.09 91.8)
XYZxyz(16.5229, 17.3917, 5.1754)
Luminance0.1739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87722F #2F4487
analogous
#87462F #87722F #70872F
triadic
#87722F #2F8772 #722F87
tetradic
#87722F #2F8746 #2F4487 #872F70
square
#87722F #2F8746 #2F4487 #872F70
split-complementary
#87722F #2F7087 #462F87
monochromatic
#2C250F #5A4C1F #87722F #B4983F #CAB266

Accessibility & contrast

On white

4.69
#87722F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#87722F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #87722F
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87722F#FFFFFF#000000##FFFFFF
##87722F1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7028
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#926964
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #87722f;
/* rgb */ color: rgb(135, 114, 47);
/* oklch */ color: oklch(55.8% 0.090 91.8);
Tailwind
colors: {
  custom: {
    50: '#ad9a6a',
    500: '#87722f',
    950: '#000000',
  },
}
SCSS
$custom: #87722f;
$custom-light: #ad9a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#87722f",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 47
  },
  "hsl": {
    "h": 45.682,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.55824,
    "c": 0.08977,
    "h": 91.8
  },
  "luminance": 0.17391
}

Semantic roles & 50–950 ramp

primary
#87722F
secondary
#6174B1
accent
#70D850
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #87722F

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

Preview Lab → · Contrast checker → · Palette generator →

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