#888017#888017

#888017 is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.9% C 0.118 H 104.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#888017
RGBrgb(136, 128, 23)
HSLhsl(56, 71%, 31%)
HSVhsv(56, 83%, 53%)
CMYKcmyk(0%, 5.9%, 83.1%, 46.7%)
CIE-LABlab(52.66, -8.66, 52.66)
CIE-LCHlch(52.66, 53.37, 99.34°)
OKLaboklab(58.89% -0.03 0.1137)
OKLCHoklch(58.89% 0.118 104.8)
XYZxyz(18.0280, 20.7352, 3.8631)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888017 #171F88
analogous
#884717 #888017 #578817
triadic
#888017 #178880 #801788
tetradic
#888017 #178847 #171F88 #881757
square
#888017 #178847 #171F88 #881757
split-complementary
#888017 #175788 #471788
monochromatic
#1F1D05 #544F0E #888017 #BCB120 #DED23B

Accessibility & contrast

On white

4.08
#888017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#888017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888017
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888017#FFFFFF#000000##000000
##8880171.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8F8020
Tritanopia (blue-blind)
#93776D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #888017;
/* rgb */ color: rgb(136, 128, 23);
/* oklch */ color: oklch(58.9% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#aea45f',
    500: '#888017',
    950: '#000000',
  },
}
SCSS
$custom: #888017;
$custom-light: #aea45f;
$custom-dark: #000000;
JSON
{
  "hex": "#888017",
  "rgb": {
    "r": 136,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 55.752,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.58892,
    "c": 0.11763,
    "h": 104.8
  },
  "luminance": 0.20734
}

Semantic roles & 50–950 ramp

primary
#888017
secondary
#3F48BC
accent
#47EE3A
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #888017

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

Preview Lab → · Contrast checker → · Palette generator →

#888017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva