#887B2D#887B2D

#887B2D is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.099 H 99.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#887B2D
RGBrgb(136, 123, 45)
HSLhsl(51, 50%, 35%)
HSVhsv(51, 67%, 53%)
CMYKcmyk(0%, 9.6%, 66.9%, 46.7%)
CIE-LABlab(51.37, -4.81, 42.99)
CIE-LCHlch(51.37, 43.26, 96.38°)
OKLaboklab(57.92% -0.0168 0.0975)
OKLCHoklch(57.92% 0.099 99.8)
XYZxyz(17.7107, 19.5904, 5.3305)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B2D #2D3A88
analogous
#884E2D #887B2D #67882D
triadic
#887B2D #2D887B #7B2D88
tetradic
#887B2D #2D884E #2D3A88 #882D67
square
#887B2D #2D884E #2D3A88 #882D67
split-complementary
#887B2D #2D6788 #4E2D88
monochromatic
#2C280F #5A511E #887B2D #B6A53C #CCBD64

Accessibility & contrast

On white

4.27
#887B2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#887B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887B2D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887B2D#FFFFFF#000000##000000
##887B2D1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#877823
Deuteranopia (green-blind)
#8A7D31
Tritanopia (blue-blind)
#92726B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b2d;
/* rgb */ color: rgb(136, 123, 45);
/* oklch */ color: oklch(57.9% 0.099 99.8);
Tailwind
colors: {
  custom: {
    50: '#ada06a',
    500: '#887b2d',
    950: '#000000',
  },
}
SCSS
$custom: #887b2d;
$custom-light: #ada06a;
$custom-dark: #000000;
JSON
{
  "hex": "#887b2d",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 45
  },
  "hsl": {
    "h": 51.429,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57915,
    "c": 0.09889,
    "h": 99.8
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#887B2D
secondary
#5F6BB2
accent
#62DA4E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E07
muted
#807E7A

Preview Lab

Preview with #887B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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