#888D17#888D17

#888D17 is a mid, vivid yellow. Relative luminance 0.243; OKLCH L 61.9% C 0.131 H 112.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#888D17
RGBrgb(136, 141, 23)
HSLhsl(63, 72%, 32%)
HSVhsv(63, 84%, 55%)
CMYKcmyk(3.5%, 0%, 83.7%, 44.7%)
CIE-LABlab(56.43, -15.64, 55.92)
CIE-LCHlch(56.43, 58.06, 105.63°)
OKLaboklab(61.91% -0.0494 0.1208)
OKLCHoklch(61.91% 0.131 112.3)
XYZxyz(19.8336, 24.3464, 4.4650)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D17 #1C178D
analogous
#8D5717 #888D17 #4D8D17
triadic
#888D17 #17888D #8D1788
tetradic
#888D17 #178D57 #1C178D #8D174D
square
#888D17 #178D57 #1C178D #8D174D
split-complementary
#888D17 #174D8D #57178D
monochromatic
#222406 #55580E #888D17 #BBC220 #D9E03F

Accessibility & contrast

On white

3.58
#888D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#888D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888D17
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888D17#FFFFFF#000000##000000
##888D171.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#998923
Tritanopia (blue-blind)
#928478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888d17;
/* rgb */ color: rgb(136, 141, 23);
/* oklch */ color: oklch(61.9% 0.131 112.3);
Tailwind
colors: {
  custom: {
    50: '#aeae61',
    500: '#888d17',
    950: '#000000',
  },
}
SCSS
$custom: #888d17;
$custom-light: #aeae61;
$custom-dark: #000000;
JSON
{
  "hex": "#888d17",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 62.542,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.1305,
    "h": 112.3
  },
  "luminance": 0.24346
}

Semantic roles & 50–950 ramp

primary
#888D17
secondary
#4540C0
accent
#39EF41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888D17

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

Preview Lab → · Contrast checker → · Palette generator →

#888D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva