#888B1D#888B1D

#888B1D is a mid, vivid yellow. Relative luminance 0.238; OKLCH L 61.5% C 0.126 H 111.2°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#888B1D
RGBrgb(136, 139, 29)
HSLhsl(62, 65%, 33%)
HSVhsv(62, 79%, 55%)
CMYKcmyk(2.2%, 0%, 79.1%, 45.5%)
CIE-LABlab(55.88, -14.37, 53.66)
CIE-LCHlch(55.88, 55.55, 104.99°)
OKLaboklab(61.47% -0.0454 0.1171)
OKLCHoklch(61.47% 0.126 111.2)
XYZxyz(19.6084, 23.7887, 4.7209)
Luminance0.2379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B1D #201D8B
analogous
#8B571D #888B1D #518B1D
triadic
#888B1D #1D888B #8B1D88
tetradic
#888B1D #1D8B57 #201D8B #8B1D51
square
#888B1D #1D8B57 #201D8B #8B1D51
split-complementary
#888B1D #1D518B #571D8B
monochromatic
#252608 #565812 #888B1D #BABE28 #D5D949

Accessibility & contrast

On white

3.65
#888B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#888B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888B1D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888B1D#FFFFFF#000000##000000
##888B1D1.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#928277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #888b1d;
/* rgb */ color: rgb(136, 139, 29);
/* oklch */ color: oklch(61.5% 0.126 111.2);
Tailwind
colors: {
  custom: {
    50: '#aeac63',
    500: '#888b1d',
    950: '#000000',
  },
}
SCSS
$custom: #888b1d;
$custom-light: #aeac63;
$custom-dark: #000000;
JSON
{
  "hex": "#888b1d",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 61.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.61469,
    "c": 0.12557,
    "h": 111.2
  },
  "luminance": 0.23788
}

Semantic roles & 50–950 ramp

primary
#888B1D
secondary
#4C49BB
accent
#3FE844
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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