#888C1D#888C1D

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

Color values

HEX#888C1D
RGBrgb(136, 140, 29)
HSLhsl(62, 66%, 33%)
HSVhsv(62, 79%, 55%)
CMYKcmyk(2.9%, 0%, 79.3%, 45.1%)
CIE-LABlab(56.17, -14.90, 53.93)
CIE-LCHlch(56.17, 55.94, 105.44°)
OKLaboklab(61.7% -0.0469 0.1176)
OKLCHoklch(61.7% 0.127 111.7)
XYZxyz(19.7539, 24.0796, 4.7694)
Luminance0.2408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888C1D #211D8C
analogous
#8C581D #888C1D #508C1D
triadic
#888C1D #1D888C #8C1D88
tetradic
#888C1D #1D8C58 #211D8C #8C1D50
square
#888C1D #1D8C58 #211D8C #8C1D50
split-complementary
#888C1D #1D508C #581D8C
monochromatic
#252708 #575912 #888C1D #B9BF28 #D4D94A

Accessibility & contrast

On white

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

On black

5.82
#888C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888C1D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888C1D#FFFFFF#000000##000000
##888C1D1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988827
Tritanopia (blue-blind)
#928378
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888c1d;
/* rgb */ color: rgb(136, 140, 29);
/* oklch */ color: oklch(61.7% 0.127 111.7);
Tailwind
colors: {
  custom: {
    50: '#aead64',
    500: '#888c1d',
    950: '#000000',
  },
}
SCSS
$custom: #888c1d;
$custom-light: #aead64;
$custom-dark: #000000;
JSON
{
  "hex": "#888c1d",
  "rgb": {
    "r": 136,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 62.162,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.61703,
    "c": 0.12663,
    "h": 111.7
  },
  "luminance": 0.24079
}

Semantic roles & 50–950 ramp

primary
#888C1D
secondary
#4D49BC
accent
#3FE945
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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