#888C1B#888C1B

#888C1B 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#888C1B
RGBrgb(136, 140, 27)
HSLhsl(62, 68%, 33%)
HSVhsv(62, 81%, 55%)
CMYKcmyk(2.9%, 0%, 80.7%, 45.1%)
CIE-LABlab(56.16, -14.98, 54.54)
CIE-LCHlch(56.16, 56.55, 105.35°)
OKLaboklab(61.69% -0.0473 0.1186)
OKLCHoklch(61.69% 0.128 111.7)
XYZxyz(19.7299, 24.0701, 4.6434)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888C1B #1F1B8C
analogous
#8C571B #888C1B #4F8C1B
triadic
#888C1B #1B888C #8C1B88
tetradic
#888C1B #1B8C57 #1F1B8C #8C1B4F
square
#888C1B #1B8C57 #1F1B8C #8C1B4F
split-complementary
#888C1B #1B4F8C #571B8C
monochromatic
#242507 #565911 #888C1B #BABF25 #D6DB46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888C1B#FFFFFF#000000##000000
##888C1B1.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)
#988826
Tritanopia (blue-blind)
#928377
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888c1b;
/* rgb */ color: rgb(136, 140, 27);
/* oklch */ color: oklch(61.7% 0.128 111.7);
Tailwind
colors: {
  custom: {
    50: '#aead63',
    500: '#888c1b',
    950: '#000000',
  },
}
SCSS
$custom: #888c1b;
$custom-light: #aead63;
$custom-dark: #000000;
JSON
{
  "hex": "#888c1b",
  "rgb": {
    "r": 136,
    "g": 140,
    "b": 27
  },
  "hsl": {
    "h": 62.124,
    "s": 67.665,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61692,
    "c": 0.12764,
    "h": 111.7
  },
  "luminance": 0.2407
}

Semantic roles & 50–950 ramp

primary
#888C1B
secondary
#4A46BD
accent
#3DEB43
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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