#888D1D#888D1D

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

Color values

HEX#888D1D
RGBrgb(136, 141, 29)
HSLhsl(63, 66%, 33%)
HSVhsv(63, 79%, 55%)
CMYKcmyk(3.5%, 0%, 79.4%, 44.7%)
CIE-LABlab(56.46, -15.42, 54.19)
CIE-LCHlch(56.46, 56.34, 105.89°)
OKLaboklab(61.94% -0.0483 0.1182)
OKLCHoklch(61.94% 0.128 112.2)
XYZxyz(19.9007, 24.3732, 4.8183)
Luminance0.2437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D1D #221D8D
analogous
#8D5A1D #888D1D #508D1D
triadic
#888D1D #1D888D #8D1D88
tetradic
#888D1D #1D8D5A #221D8D #8D1D50
square
#888D1D #1D8D5A #221D8D #8D1D50
split-complementary
#888D1D #1D508D #5A1D8D
monochromatic
#262708 #575A13 #888D1D #B9C027 #D3DA4B

Accessibility & contrast

On white

3.57
#888D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##888D1D#FFFFFF#000000##000000
##888D1D1.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #888d1d;
/* rgb */ color: rgb(136, 141, 29);
/* oklch */ color: oklch(61.9% 0.128 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae64',
    500: '#888d1d',
    950: '#000000',
  },
}
SCSS
$custom: #888d1d;
$custom-light: #aeae64;
$custom-dark: #000000;
JSON
{
  "hex": "#888d1d",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 62.679,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.61937,
    "c": 0.12771,
    "h": 112.2
  },
  "luminance": 0.24373
}

Semantic roles & 50–950 ramp

primary
#888D1D
secondary
#4F4ABC
accent
#3FE947
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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