#887B22#887B22

#887B22 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.107 H 100.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#887B22
RGBrgb(136, 123, 34)
HSLhsl(52, 60%, 33%)
HSVhsv(52, 75%, 53%)
CMYKcmyk(0%, 9.6%, 75%, 46.7%)
CIE-LABlab(51.29, -5.44, 47.60)
CIE-LCHlch(51.29, 47.91, 96.52°)
OKLaboklab(57.82% -0.0199 0.1052)
OKLCHoklch(57.82% 0.107 100.7)
XYZxyz(17.5258, 19.5165, 4.3570)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B22 #222F88
analogous
#884822 #887B22 #628822
triadic
#887B22 #22887B #7B2288
tetradic
#887B22 #228848 #222F88 #882262
square
#887B22 #228848 #222F88 #882262
split-complementary
#887B22 #226288 #482288
monochromatic
#26220A #574F16 #887B22 #B9A72E #D3C351

Accessibility & contrast

On white

4.28
#887B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#887B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887B22
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887B22#FFFFFF#000000##000000
##887B221.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877713
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#93726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b22;
/* rgb */ color: rgb(136, 123, 34);
/* oklch */ color: oklch(57.8% 0.107 100.7);
Tailwind
colors: {
  custom: {
    50: '#aea064',
    500: '#887b22',
    950: '#000000',
  },
}
SCSS
$custom: #887b22;
$custom-light: #aea064;
$custom-dark: #000000;
JSON
{
  "hex": "#887b22",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 52.353,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57821,
    "c": 0.10705,
    "h": 100.7
  },
  "luminance": 0.19516
}

Semantic roles & 50–950 ramp

primary
#887B22
secondary
#4F5CB7
accent
#59E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887B22

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

Preview Lab → · Contrast checker → · Palette generator →

#887B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva