#888D1E#888D1E

#888D1E is a mid, vivid yellow. Relative luminance 0.244; OKLCH L 61.9% C 0.127 H 112.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#888D1E
RGBrgb(136, 141, 30)
HSLhsl(63, 65%, 34%)
HSVhsv(63, 79%, 55%)
CMYKcmyk(3.5%, 0%, 78.7%, 44.7%)
CIE-LABlab(56.46, -15.38, 53.87)
CIE-LCHlch(56.46, 56.03, 105.94°)
OKLaboklab(61.94% -0.0481 0.1177)
OKLCHoklch(61.94% 0.127 112.2)
XYZxyz(19.9132, 24.3782, 4.8845)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D1E #231E8D
analogous
#8D5A1E #888D1E #508D1E
triadic
#888D1E #1E888D #8D1E88
tetradic
#888D1E #1E8D5A #231E8D #8D1E50
square
#888D1E #1E8D5A #231E8D #8D1E50
split-complementary
#888D1E #1E508D #5A1E8D
monochromatic
#272809 #575B13 #888D1E #B9BF29 #D3D94C

Accessibility & contrast

On white

3.57
#888D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#888D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888D1E
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888D1E#FFFFFF#000000##000000
##888D1E1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#998928
Tritanopia (blue-blind)
#928478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888d1e;
/* rgb */ color: rgb(136, 141, 30);
/* oklch */ color: oklch(61.9% 0.127 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae64',
    500: '#888d1e',
    950: '#000000',
  },
}
SCSS
$custom: #888d1e;
$custom-light: #aeae64;
$custom-dark: #000000;
JSON
{
  "hex": "#888d1e",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 62.703,
    "s": 64.912,
    "l": 33.529
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.12719,
    "h": 112.2
  },
  "luminance": 0.24378
}

Semantic roles & 50–950 ramp

primary
#888D1E
secondary
#504BBC
accent
#40E847
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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