#888217#888217

#888217 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.4% C 0.119 H 106.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#888217
RGBrgb(136, 130, 23)
HSLhsl(57, 71%, 31%)
HSVhsv(57, 83%, 53%)
CMYKcmyk(0%, 4.4%, 83.1%, 46.7%)
CIE-LABlab(53.24, -9.75, 53.16)
CIE-LCHlch(53.24, 54.05, 100.40°)
OKLaboklab(59.35% -0.0331 0.1148)
OKLCHoklch(59.35% 0.12 106.1)
XYZxyz(18.2914, 21.2621, 3.9509)
Luminance0.2126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888217 #171D88
analogous
#884917 #888217 #558817
triadic
#888217 #178882 #821788
tetradic
#888217 #178849 #171D88 #881755
square
#888217 #178849 #171D88 #881755
split-complementary
#888217 #175588 #491788
monochromatic
#1F1E05 #54500E #888217 #BCB420 #DED53B

Accessibility & contrast

On white

4.00
#888217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#888217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888217
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888217#FFFFFF#000000##000000
##8882171.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#908121
Tritanopia (blue-blind)
#93796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #888217;
/* rgb */ color: rgb(136, 130, 23);
/* oklch */ color: oklch(59.4% 0.119 106.1);
Tailwind
colors: {
  custom: {
    50: '#aea660',
    500: '#888217',
    950: '#000000',
  },
}
SCSS
$custom: #888217;
$custom-light: #aea660;
$custom-dark: #000000;
JSON
{
  "hex": "#888217",
  "rgb": {
    "r": 136,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 56.814,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59352,
    "c": 0.1195,
    "h": 106.1
  },
  "luminance": 0.21261
}

Semantic roles & 50–950 ramp

primary
#888217
secondary
#3F46BC
accent
#44EE3A
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#110F05
muted
#807F79

Preview Lab

Preview with #888217

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

Preview Lab → · Contrast checker → · Palette generator →

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