#887F2D#887F2D

#887F2D is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.103 H 103.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#887F2D
RGBrgb(136, 127, 45)
HSLhsl(54, 50%, 35%)
HSVhsv(54, 67%, 53%)
CMYKcmyk(0%, 6.6%, 66.9%, 46.7%)
CIE-LABlab(52.51, -7.03, 44.20)
CIE-LCHlch(52.51, 44.75, 99.04°)
OKLaboklab(58.82% -0.0231 0.1)
OKLCHoklch(58.82% 0.103 103)
XYZxyz(18.2171, 20.6032, 5.4993)
Luminance0.2060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F2D #2D3688
analogous
#88512D #887F2D #63882D
triadic
#887F2D #2D887F #7F2D88
tetradic
#887F2D #2D8851 #2D3688 #882D63
square
#887F2D #2D8851 #2D3688 #882D63
split-complementary
#887F2D #2D6388 #512D88
monochromatic
#2C290F #5A541E #887F2D #B6AA3C #CCC164

Accessibility & contrast

On white

4.10
#887F2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#887F2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F2D
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F2D#FFFFFF#000000##000000
##887F2D1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B23
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#92766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f2d;
/* rgb */ color: rgb(136, 127, 45);
/* oklch */ color: oklch(58.8% 0.103 103.0);
Tailwind
colors: {
  custom: {
    50: '#ada36a',
    500: '#887f2d',
    950: '#000000',
  },
}
SCSS
$custom: #887f2d;
$custom-light: #ada36a;
$custom-dark: #000000;
JSON
{
  "hex": "#887f2d",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 54.066,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.10264,
    "h": 103
  },
  "luminance": 0.20602
}

Semantic roles & 50–950 ramp

primary
#887F2D
secondary
#5F67B2
accent
#5CDA4E
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #887F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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