#888C1A#888C1A

#888C1A is a mid, vivid yellow. Relative luminance 0.241; OKLCH L 61.7% C 0.128 H 111.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#888C1A
RGBrgb(136, 140, 26)
HSLhsl(62, 69%, 33%)
HSVhsv(62, 81%, 55%)
CMYKcmyk(2.9%, 0%, 81.4%, 45.1%)
CIE-LABlab(56.15, -15.01, 54.83)
CIE-LCHlch(56.15, 56.85, 105.31°)
OKLaboklab(61.69% -0.0474 0.119)
OKLCHoklch(61.69% 0.128 111.7)
XYZxyz(19.7186, 24.0655, 4.5835)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888C1A #1E1A8C
analogous
#8C571A #888C1A #4F8C1A
triadic
#888C1A #1A888C #8C1A88
tetradic
#888C1A #1A8C57 #1E1A8C #8C1A4F
square
#888C1A #1A8C57 #1E1A8C #8C1A4F
split-complementary
#888C1A #1A4F8C #571A8C
monochromatic
#242507 #565810 #888C1A #BAC024 #D7DC44

Accessibility & contrast

On white

3.61
#888C1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#888C1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888C1A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888C1A#FFFFFF#000000##000000
##888C1A1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#928377
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888c1a;
/* rgb */ color: rgb(136, 140, 26);
/* oklch */ color: oklch(61.7% 0.128 111.7);
Tailwind
colors: {
  custom: {
    50: '#aead62',
    500: '#888c1a',
    950: '#000000',
  },
}
SCSS
$custom: #888c1a;
$custom-light: #aead62;
$custom-dark: #000000;
JSON
{
  "hex": "#888c1a",
  "rgb": {
    "r": 136,
    "g": 140,
    "b": 26
  },
  "hsl": {
    "h": 62.105,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61687,
    "c": 0.12811,
    "h": 111.7
  },
  "luminance": 0.24065
}

Semantic roles & 50–950 ramp

primary
#888C1A
secondary
#4944BE
accent
#3CEC42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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