#888A1D#888A1D

#888A1D is a mid, vivid yellow. Relative luminance 0.235; OKLCH L 61.2% C 0.125 H 110.7°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#888A1D
RGBrgb(136, 138, 29)
HSLhsl(61, 65%, 33%)
HSVhsv(61, 79%, 54%)
CMYKcmyk(1.4%, 0%, 79%, 45.9%)
CIE-LABlab(55.58, -13.84, 53.40)
CIE-LCHlch(55.58, 55.16, 104.53°)
OKLaboklab(61.24% -0.0439 0.1165)
OKLCHoklch(61.24% 0.125 110.7)
XYZxyz(19.4643, 23.5005, 4.6729)
Luminance0.2350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888A1D #1F1D8A
analogous
#8A551D #888A1D #518A1D
triadic
#888A1D #1D888A #8A1D88
tetradic
#888A1D #1D8A55 #1F1D8A #8A1D51
square
#888A1D #1D8A55 #1F1D8A #8A1D51
split-complementary
#888A1D #1D518A #551D8A
monochromatic
#242508 #565712 #888A1D #BABD28 #D6D949

Accessibility & contrast

On white

3.68
#888A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#888A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888A1D
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888A1D#FFFFFF#000000##000000
##888A1D1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#958400
Deuteranopia (green-blind)
#968727
Tritanopia (blue-blind)
#928176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #888a1d;
/* rgb */ color: rgb(136, 138, 29);
/* oklch */ color: oklch(61.2% 0.125 110.7);
Tailwind
colors: {
  custom: {
    50: '#aeab63',
    500: '#888a1d',
    950: '#000000',
  },
}
SCSS
$custom: #888a1d;
$custom-light: #aeab63;
$custom-dark: #000000;
JSON
{
  "hex": "#888a1d",
  "rgb": {
    "r": 136,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 61.101,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.61236,
    "c": 0.12452,
    "h": 110.7
  },
  "luminance": 0.235
}

Semantic roles & 50–950 ramp

primary
#888A1D
secondary
#4A48BB
accent
#40E843
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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