#888B1B#888B1B

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

Color values

HEX#888B1B
RGBrgb(136, 139, 27)
HSLhsl(62, 67%, 33%)
HSVhsv(62, 81%, 55%)
CMYKcmyk(2.2%, 0%, 80.6%, 45.5%)
CIE-LABlab(55.87, -14.45, 54.28)
CIE-LCHlch(55.87, 56.17, 104.90°)
OKLaboklab(61.46% -0.0458 0.118)
OKLCHoklch(61.46% 0.127 111.2)
XYZxyz(19.5845, 23.7791, 4.5949)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B1B #1E1B8B
analogous
#8B561B #888B1B #508B1B
triadic
#888B1B #1B888B #8B1B88
tetradic
#888B1B #1B8B56 #1E1B8B #8B1B50
square
#888B1B #1B8B56 #1E1B8B #8B1B50
split-complementary
#888B1B #1B508B #561B8B
monochromatic
#242507 #565811 #888B1B #BABE25 #D7DB45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888B1B#FFFFFF#000000##000000
##888B1B1.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)
#978725
Tritanopia (blue-blind)
#928277
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #888b1b;
/* rgb */ color: rgb(136, 139, 27);
/* oklch */ color: oklch(61.5% 0.127 111.2);
Tailwind
colors: {
  custom: {
    50: '#aeac63',
    500: '#888b1b',
    950: '#000000',
  },
}
SCSS
$custom: #888b1b;
$custom-light: #aeac63;
$custom-dark: #000000;
JSON
{
  "hex": "#888b1b",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 27
  },
  "hsl": {
    "h": 61.607,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.12658,
    "h": 111.2
  },
  "luminance": 0.23779
}

Semantic roles & 50–950 ramp

primary
#888B1B
secondary
#4945BC
accent
#3DEA42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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