#888817#888817

#888817 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.7% C 0.125 H 109.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#888817
RGBrgb(136, 136, 23)
HSLhsl(60, 71%, 31%)
HSVhsv(60, 83%, 53%)
CMYKcmyk(0%, 0%, 83.1%, 46.7%)
CIE-LABlab(54.97, -12.99, 54.66)
CIE-LCHlch(54.97, 56.18, 103.37°)
OKLaboklab(60.74% -0.0421 0.1181)
OKLCHoklch(60.74% 0.125 109.6)
XYZxyz(19.1129, 22.9050, 4.2248)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888817 #171788
analogous
#884F17 #888817 #4F8817
triadic
#888817 #178888 #881788
tetradic
#888817 #17884F #171788 #88174F
square
#888817 #17884F #171788 #88174F
split-complementary
#888817 #174F88 #4F1788
monochromatic
#1F1F05 #54540E #888817 #BCBC20 #DEDE3B

Accessibility & contrast

On white

3.76
#888817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#888817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888817
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888817#FFFFFF#000000##000000
##8888171.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#958522
Tritanopia (blue-blind)
#927F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #888817;
/* rgb */ color: rgb(136, 136, 23);
/* oklch */ color: oklch(60.7% 0.125 109.6);
Tailwind
colors: {
  custom: {
    50: '#aeaa61',
    500: '#888817',
    950: '#000000',
  },
}
SCSS
$custom: #888817;
$custom-light: #aeaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#888817",
  "rgb": {
    "r": 136,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.12534,
    "h": 109.6
  },
  "luminance": 0.22904
}

Semantic roles & 50–950 ramp

primary
#888817
secondary
#3F3FBC
accent
#3AEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #888817

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

Preview Lab → · Contrast checker → · Palette generator →

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