#888D1B#888D1B

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

Color values

HEX#888D1B
RGBrgb(136, 141, 27)
HSLhsl(63, 68%, 33%)
HSVhsv(63, 81%, 55%)
CMYKcmyk(3.5%, 0%, 80.9%, 44.7%)
CIE-LABlab(56.45, -15.50, 54.79)
CIE-LCHlch(56.45, 56.95, 105.80°)
OKLaboklab(61.93% -0.0487 0.1191)
OKLCHoklch(61.93% 0.129 112.3)
XYZxyz(19.8767, 24.3636, 4.6923)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D1B #201B8D
analogous
#8D591B #888D1B #4F8D1B
triadic
#888D1B #1B888D #8D1B88
tetradic
#888D1B #1B8D59 #201B8D #8D1B4F
square
#888D1B #1B8D59 #201B8D #8D1B4F
split-complementary
#888D1B #1B4F8D #591B8D
monochromatic
#252607 #565A11 #888D1B #BAC025 #D5DC47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888D1B#FFFFFF#000000##000000
##888D1B1.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)
#998926
Tritanopia (blue-blind)
#928478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888d1b;
/* rgb */ color: rgb(136, 141, 27);
/* oklch */ color: oklch(61.9% 0.129 112.3);
Tailwind
colors: {
  custom: {
    50: '#aeae63',
    500: '#888d1b',
    950: '#000000',
  },
}
SCSS
$custom: #888d1b;
$custom-light: #aeae63;
$custom-dark: #000000;
JSON
{
  "hex": "#888d1b",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 62.632,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.12869,
    "h": 112.3
  },
  "luminance": 0.24363
}

Semantic roles & 50–950 ramp

primary
#888D1B
secondary
#4C46BD
accent
#3DEB45
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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