#887F28#887F28

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

Color values

HEX#887F28
RGBrgb(136, 127, 40)
HSLhsl(54, 55%, 35%)
HSVhsv(54, 71%, 53%)
CMYKcmyk(0%, 6.6%, 70.6%, 46.7%)
CIE-LABlab(52.47, -7.34, 46.33)
CIE-LCHlch(52.47, 46.91, 99.00°)
OKLaboklab(58.78% -0.0246 0.1036)
OKLCHoklch(58.78% 0.107 103.4)
XYZxyz(18.1265, 20.5669, 5.0221)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F28 #283188
analogous
#884F28 #887F28 #618828
triadic
#887F28 #28887F #7F2888
tetradic
#887F28 #28884F #283188 #882861
square
#887F28 #28884F #283188 #882861
split-complementary
#887F28 #286188 #4F2888
monochromatic
#29270C #59531A #887F28 #B7AB36 #CFC45B

Accessibility & contrast

On white

4.11
#887F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#887F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F28
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F28#FFFFFF#000000##000000
##887F281.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1B
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#92766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f28;
/* rgb */ color: rgb(136, 127, 40);
/* oklch */ color: oklch(58.8% 0.107 103.4);
Tailwind
colors: {
  custom: {
    50: '#aea367',
    500: '#887f28',
    950: '#000000',
  },
}
SCSS
$custom: #887f28;
$custom-light: #aea367;
$custom-dark: #000000;
JSON
{
  "hex": "#887f28",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 40
  },
  "hsl": {
    "h": 54.375,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.10651,
    "h": 103.4
  },
  "luminance": 0.20566
}

Semantic roles & 50–950 ramp

primary
#887F28
secondary
#5860B4
accent
#58DE4A
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #887F28

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

Preview Lab → · Contrast checker → · Palette generator →

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