#887B26#887B26

#887B26 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.104 H 100.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#887B26
RGBrgb(136, 123, 38)
HSLhsl(52, 56%, 34%)
HSVhsv(52, 72%, 53%)
CMYKcmyk(0%, 9.6%, 72.1%, 46.7%)
CIE-LABlab(51.31, -5.23, 46.01)
CIE-LCHlch(51.31, 46.30, 96.48°)
OKLaboklab(57.85% -0.0189 0.1026)
OKLCHoklch(57.85% 0.104 100.4)
XYZxyz(17.5869, 19.5409, 4.6787)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B26 #263388
analogous
#884A26 #887B26 #648826
triadic
#887B26 #26887B #7B2688
tetradic
#887B26 #26884A #263388 #882664
square
#887B26 #26884A #263388 #882664
split-complementary
#887B26 #266488 #4A2688
monochromatic
#28240B #585019 #887B26 #B8A633 #D0C058

Accessibility & contrast

On white

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

On black

4.91
#887B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887B26
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887B26#FFFFFF#000000##000000
##887B261.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #887b26;
/* rgb */ color: rgb(136, 123, 38);
/* oklch */ color: oklch(57.9% 0.104 100.4);
Tailwind
colors: {
  custom: {
    50: '#aea066',
    500: '#887b26',
    950: '#000000',
  },
}
SCSS
$custom: #887b26;
$custom-light: #aea066;
$custom-dark: #000000;
JSON
{
  "hex": "#887b26",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 52.041,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57852,
    "c": 0.1043,
    "h": 100.4
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

primary
#887B26
secondary
#5562B5
accent
#5CE048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887B26

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

Preview Lab → · Contrast checker → · Palette generator →

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