#888D1F#888D1F

#888D1F 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#888D1F
RGBrgb(136, 141, 31)
HSLhsl(63, 64%, 34%)
HSVhsv(63, 78%, 55%)
CMYKcmyk(3.5%, 0%, 78%, 44.7%)
CIE-LABlab(56.47, -15.34, 53.55)
CIE-LCHlch(56.47, 55.71, 105.98°)
OKLaboklab(61.95% -0.0479 0.1172)
OKLCHoklch(61.95% 0.127 112.2)
XYZxyz(19.9262, 24.3834, 4.9529)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888D1F #241F8D
analogous
#8D5B1F #888D1F #518D1F
triadic
#888D1F #1F888D #8D1F88
tetradic
#888D1F #1F8D5B #241F8D #8D1F51
square
#888D1F #1F8D5B #241F8D #8D1F51
split-complementary
#888D1F #1F518D #5B1F8D
monochromatic
#272909 #585B14 #888D1F #B8BF2A #D2D84E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888D1F#FFFFFF#000000##000000
##888D1F1.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)
#988602
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#928478
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #888d1f;
/* rgb */ color: rgb(136, 141, 31);
/* oklch */ color: oklch(61.9% 0.127 112.2);
Tailwind
colors: {
  custom: {
    50: '#aeae65',
    500: '#888d1f',
    950: '#000000',
  },
}
SCSS
$custom: #888d1f;
$custom-light: #aeae65;
$custom-dark: #000000;
JSON
{
  "hex": "#888d1f",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 62.727,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.61948,
    "c": 0.12665,
    "h": 112.2
  },
  "luminance": 0.24383
}

Semantic roles & 50–950 ramp

primary
#888D1F
secondary
#524DBB
accent
#41E748
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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