#887822#887822

#887822 is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.1% C 0.105 H 98.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#887822
RGBrgb(136, 120, 34)
HSLhsl(51, 60%, 33%)
HSVhsv(51, 75%, 53%)
CMYKcmyk(0%, 11.8%, 75%, 46.7%)
CIE-LABlab(50.43, -3.76, 46.78)
CIE-LCHlch(50.43, 46.93, 94.59°)
OKLaboklab(57.14% -0.0151 0.1034)
OKLCHoklch(57.14% 0.105 98.3)
XYZxyz(17.1594, 18.7835, 4.2348)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887822 #223288
analogous
#884522 #887822 #658822
triadic
#887822 #228878 #782288
tetradic
#887822 #228845 #223288 #882265
square
#887822 #228845 #223288 #882265
split-complementary
#887822 #226588 #452288
monochromatic
#26220A #574D16 #887822 #B9A32E #D3BF51

Accessibility & contrast

On white

4.41
#887822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#887822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887822
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887822#FFFFFF#000000##000000
##8878221.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#847514
Deuteranopia (green-blind)
#897A27
Tritanopia (blue-blind)
#936F67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #887822;
/* rgb */ color: rgb(136, 120, 34);
/* oklch */ color: oklch(57.1% 0.105 98.3);
Tailwind
colors: {
  custom: {
    50: '#ae9e63',
    500: '#887822',
    950: '#000000',
  },
}
SCSS
$custom: #887822;
$custom-light: #ae9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#887822",
  "rgb": {
    "r": 136,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 50.588,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.10453,
    "h": 98.3
  },
  "luminance": 0.18783
}

Semantic roles & 50–950 ramp

primary
#887822
secondary
#4F5FB7
accent
#5EE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887822

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

Preview Lab → · Contrast checker → · Palette generator →

#887822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva