#887F29#887F29

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

Color values

HEX#887F29
RGBrgb(136, 127, 41)
HSLhsl(54, 54%, 35%)
HSVhsv(54, 70%, 53%)
CMYKcmyk(0%, 6.6%, 69.9%, 46.7%)
CIE-LABlab(52.48, -7.28, 45.91)
CIE-LCHlch(52.48, 46.49, 99.01°)
OKLaboklab(58.79% -0.0243 0.1029)
OKLCHoklch(58.79% 0.106 103.3)
XYZxyz(18.1437, 20.5738, 5.1128)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F29 #293288
analogous
#885029 #887F29 #618829
triadic
#887F29 #29887F #7F2988
tetradic
#887F29 #298850 #293288 #882961
square
#887F29 #298850 #293288 #882961
split-complementary
#887F29 #296188 #502988
monochromatic
#2A270D #59531B #887F29 #B7AB37 #CEC45D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887F29#FFFFFF#000000##000000
##887F291.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)
#8B7B1D
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#92766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f29;
/* rgb */ color: rgb(136, 127, 41);
/* oklch */ color: oklch(58.8% 0.106 103.3);
Tailwind
colors: {
  custom: {
    50: '#aea368',
    500: '#887f29',
    950: '#000000',
  },
}
SCSS
$custom: #887f29;
$custom-light: #aea368;
$custom-dark: #000000;
JSON
{
  "hex": "#887f29",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 54.316,
    "s": 53.672,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58785,
    "c": 0.10578,
    "h": 103.3
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#887F29
secondary
#5962B4
accent
#59DD4B
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #887F29

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

Preview Lab → · Contrast checker → · Palette generator →

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