#887B1E#887B1E

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

Color values

HEX#887B1E
RGBrgb(136, 123, 30)
HSLhsl(53, 64%, 33%)
HSVhsv(53, 78%, 53%)
CMYKcmyk(0%, 9.6%, 77.9%, 46.7%)
CIE-LABlab(51.26, -5.62, 49.09)
CIE-LCHlch(51.26, 49.41, 96.54°)
OKLaboklab(57.79% -0.0208 0.1075)
OKLCHoklch(57.79% 0.11 101)
XYZxyz(17.4715, 19.4947, 4.0706)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B1E #1E2B88
analogous
#88461E #887B1E #60881E
triadic
#887B1E #1E887B #7B1E88
tetradic
#887B1E #1E8846 #1E2B88 #881E60
square
#887B1E #1E8846 #1E2B88 #881E60
split-complementary
#887B1E #1E6088 #461E88
monochromatic
#242008 #564E13 #887B1E #BAA829 #D7C649

Accessibility & contrast

On white

4.29
#887B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##887B1E#FFFFFF#000000##000000
##887B1E1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87770A
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#937269
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b1e;
/* rgb */ color: rgb(136, 123, 30);
/* oklch */ color: oklch(57.8% 0.110 101.0);
Tailwind
colors: {
  custom: {
    50: '#aea062',
    500: '#887b1e',
    950: '#000000',
  },
}
SCSS
$custom: #887b1e;
$custom-light: #aea062;
$custom-dark: #000000;
JSON
{
  "hex": "#887b1e",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 52.642,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57793,
    "c": 0.10953,
    "h": 101
  },
  "luminance": 0.19494
}

Semantic roles & 50–950 ramp

primary
#887B1E
secondary
#4956B9
accent
#55E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #887B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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