#888F1D#888F1D

#888F1D is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.4% C 0.130 H 113.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#888F1D
RGBrgb(136, 143, 29)
HSLhsl(64, 66%, 34%)
HSVhsv(64, 80%, 56%)
CMYKcmyk(4.9%, 0%, 79.7%, 43.9%)
CIE-LABlab(57.04, -16.47, 54.72)
CIE-LCHlch(57.04, 57.14, 106.76°)
OKLaboklab(62.41% -0.0512 0.1193)
OKLCHoklch(62.41% 0.13 113.2)
XYZxyz(20.1982, 24.9683, 4.9175)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888F1D #241D8F
analogous
#8F5D1D #888F1D #4F8F1D
triadic
#888F1D #1D888F #8F1D88
tetradic
#888F1D #1D8F5D #241D8F #8F1D4F
square
#888F1D #1D8F5D #241D8F #8F1D4F
split-complementary
#888F1D #1D4F8F #5D1D8F
monochromatic
#272908 #585C13 #888F1D #B8C227 #D2DB4C

Accessibility & contrast

On white

3.50
#888F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#888F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888F1D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888F1D#FFFFFF#000000##000000
##888F1D1.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#92867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #888f1d;
/* rgb */ color: rgb(136, 143, 29);
/* oklch */ color: oklch(62.4% 0.130 113.2);
Tailwind
colors: {
  custom: {
    50: '#aeaf64',
    500: '#888f1d',
    950: '#000000',
  },
}
SCSS
$custom: #888f1d;
$custom-light: #aeaf64;
$custom-dark: #000000;
JSON
{
  "hex": "#888f1d",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 63.684,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.62405,
    "c": 0.12986,
    "h": 113.2
  },
  "luminance": 0.24968
}

Semantic roles & 50–950 ramp

primary
#888F1D
secondary
#524BBD
accent
#3FE949
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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