#888B1A#888B1A

#888B1A 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.75:1 contrast (WCAG AA passes).

Color values

HEX#888B1A
RGBrgb(136, 139, 26)
HSLhsl(62, 68%, 32%)
HSVhsv(62, 81%, 55%)
CMYKcmyk(2.2%, 0%, 81.3%, 45.5%)
CIE-LABlab(55.86, -14.48, 54.57)
CIE-LCHlch(55.86, 56.46, 104.86°)
OKLaboklab(61.45% -0.046 0.1185)
OKLCHoklch(61.45% 0.127 111.2)
XYZxyz(19.5731, 23.7746, 4.5350)
Luminance0.2377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888B1A #1D1A8B
analogous
#8B561A #888B1A #4F8B1A
triadic
#888B1A #1A888B #8B1A88
tetradic
#888B1A #1A8B56 #1D1A8B #8B1A4F
square
#888B1A #1A8B56 #1D1A8B #8B1A4F
split-complementary
#888B1A #1A4F8B #561A8B
monochromatic
#232407 #565710 #888B1A #BABF24 #D8DC43

Accessibility & contrast

On white

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

On black

5.75
#888B1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888B1A
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888B1A#FFFFFF#000000##000000
##888B1A1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #888b1a;
/* rgb */ color: rgb(136, 139, 26);
/* oklch */ color: oklch(61.5% 0.127 111.2);
Tailwind
colors: {
  custom: {
    50: '#aeac62',
    500: '#888b1a',
    950: '#000000',
  },
}
SCSS
$custom: #888b1a;
$custom-light: #aeac62;
$custom-dark: #000000;
JSON
{
  "hex": "#888b1a",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 61.593,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61454,
    "c": 0.12706,
    "h": 111.2
  },
  "luminance": 0.23774
}

Semantic roles & 50–950 ramp

primary
#888B1A
secondary
#4744BD
accent
#3CEB41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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