#887E17#887E17

#887E17 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.116 H 103.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#887E17
RGBrgb(136, 126, 23)
HSLhsl(55, 71%, 31%)
HSVhsv(55, 83%, 53%)
CMYKcmyk(0%, 7.4%, 83.1%, 46.7%)
CIE-LABlab(52.08, -7.56, 52.16)
CIE-LCHlch(52.08, 52.70, 98.25°)
OKLaboklab(58.44% -0.0269 0.1127)
OKLCHoklch(58.44% 0.116 103.4)
XYZxyz(17.7697, 20.2186, 3.7770)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E17 #172188
analogous
#884517 #887E17 #598817
triadic
#887E17 #17887E #7E1788
tetradic
#887E17 #178845 #172188 #881759
square
#887E17 #178845 #172188 #881759
split-complementary
#887E17 #175988 #451788
monochromatic
#1F1D05 #544D0E #887E17 #BCAE20 #DED03B

Accessibility & contrast

On white

4.16
#887E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#887E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887E17
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887E17#FFFFFF#000000##000000
##887E171.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#93746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887e17;
/* rgb */ color: rgb(136, 126, 23);
/* oklch */ color: oklch(58.4% 0.116 103.4);
Tailwind
colors: {
  custom: {
    50: '#aea35f',
    500: '#887e17',
    950: '#000000',
  },
}
SCSS
$custom: #887e17;
$custom-light: #aea35f;
$custom-dark: #000000;
JSON
{
  "hex": "#887e17",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 54.69,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58435,
    "c": 0.11584,
    "h": 103.4
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#887E17
secondary
#3F4ABC
accent
#4AEE3A
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79

Preview Lab

Preview with #887E17

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

Preview Lab → · Contrast checker → · Palette generator →

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