#887F17#887F17

#887F17 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.117 H 104.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#887F17
RGBrgb(136, 127, 23)
HSLhsl(55, 71%, 31%)
HSVhsv(55, 83%, 53%)
CMYKcmyk(0%, 6.6%, 83.1%, 46.7%)
CIE-LABlab(52.37, -8.11, 52.41)
CIE-LCHlch(52.37, 53.03, 98.80°)
OKLaboklab(58.66% -0.0285 0.1132)
OKLCHoklch(58.66% 0.117 104.1)
XYZxyz(17.8982, 20.4756, 3.8199)
Luminance0.2047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F17 #172088
analogous
#884617 #887F17 #588817
triadic
#887F17 #17887F #7F1788
tetradic
#887F17 #178846 #172088 #881758
square
#887F17 #178846 #172088 #881758
split-complementary
#887F17 #175888 #461788
monochromatic
#1F1D05 #544E0E #887F17 #BCB020 #DED13B

Accessibility & contrast

On white

4.12
#887F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#887F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F17
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F17#FFFFFF#000000##000000
##887F171.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8E7F20
Tritanopia (blue-blind)
#93756C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f17;
/* rgb */ color: rgb(136, 127, 23);
/* oklch */ color: oklch(58.7% 0.117 104.1);
Tailwind
colors: {
  custom: {
    50: '#aea35f',
    500: '#887f17',
    950: '#000000',
  },
}
SCSS
$custom: #887f17;
$custom-light: #aea35f;
$custom-dark: #000000;
JSON
{
  "hex": "#887f17",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 55.221,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.11673,
    "h": 104.1
  },
  "luminance": 0.20475
}

Semantic roles & 50–950 ramp

primary
#887F17
secondary
#3F49BC
accent
#48EE3A
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #887F17

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

Preview Lab → · Contrast checker → · Palette generator →

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