#888C17#888C17

#888C17 is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.7% C 0.129 H 111.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#888C17
RGBrgb(136, 140, 23)
HSLhsl(62, 72%, 32%)
HSVhsv(62, 84%, 55%)
CMYKcmyk(2.9%, 0%, 83.6%, 45.1%)
CIE-LABlab(56.14, -15.12, 55.66)
CIE-LCHlch(56.14, 57.68, 105.19°)
OKLaboklab(61.67% -0.048 0.1202)
OKLCHoklch(61.67% 0.129 111.7)
XYZxyz(19.6868, 24.0528, 4.4161)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888C17 #1B178C
analogous
#8C5617 #888C17 #4E8C17
triadic
#888C17 #17888C #8C1788
tetradic
#888C17 #178C56 #1B178C #8C174E
square
#888C17 #178C56 #1B178C #8C174E
split-complementary
#888C17 #174E8C #56178C
monochromatic
#222306 #55570E #888C17 #BBC120 #DADF3E

Accessibility & contrast

On white

3.61
#888C17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#888C17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888C17
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888C17#FFFFFF#000000##000000
##888C171.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#988823
Tritanopia (blue-blind)
#928377
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888c17;
/* rgb */ color: rgb(136, 140, 23);
/* oklch */ color: oklch(61.7% 0.129 111.7);
Tailwind
colors: {
  custom: {
    50: '#aead61',
    500: '#888c17',
    950: '#000000',
  },
}
SCSS
$custom: #888c17;
$custom-light: #aead61;
$custom-dark: #000000;
JSON
{
  "hex": "#888c17",
  "rgb": {
    "r": 136,
    "g": 140,
    "b": 23
  },
  "hsl": {
    "h": 62.051,
    "s": 71.779,
    "l": 31.961
  },
  "oklch": {
    "l": 0.61673,
    "c": 0.12945,
    "h": 111.7
  },
  "luminance": 0.24052
}

Semantic roles & 50–950 ramp

primary
#888C17
secondary
#443FBF
accent
#39EF3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #888C17

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

Preview Lab → · Contrast checker → · Palette generator →

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