#888A1B#888A1B

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

Color values

HEX#888A1B
RGBrgb(136, 138, 27)
HSLhsl(61, 67%, 32%)
HSVhsv(61, 80%, 54%)
CMYKcmyk(1.4%, 0%, 80.4%, 45.9%)
CIE-LABlab(55.57, -13.92, 54.02)
CIE-LCHlch(55.57, 55.78, 104.45°)
OKLaboklab(61.22% -0.0443 0.1175)
OKLCHoklch(61.22% 0.126 110.7)
XYZxyz(19.4404, 23.4909, 4.5468)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888A1B #1D1B8A
analogous
#8A551B #888A1B #518A1B
triadic
#888A1B #1B888A #8A1B88
tetradic
#888A1B #1B8A55 #1D1B8A #8A1B51
square
#888A1B #1B8A55 #1D1B8A #8A1B51
split-complementary
#888A1B #1B518A #551B8A
monochromatic
#232407 #565711 #888A1B #BABD25 #D8DB45

Accessibility & contrast

On white

3.69
#888A1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##888A1B#FFFFFF#000000##000000
##888A1B1.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #888a1b;
/* rgb */ color: rgb(136, 138, 27);
/* oklch */ color: oklch(61.2% 0.126 110.7);
Tailwind
colors: {
  custom: {
    50: '#aeab62',
    500: '#888a1b',
    950: '#000000',
  },
}
SCSS
$custom: #888a1b;
$custom-light: #aeab62;
$custom-dark: #000000;
JSON
{
  "hex": "#888a1b",
  "rgb": {
    "r": 136,
    "g": 138,
    "b": 27
  },
  "hsl": {
    "h": 61.081,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.61225,
    "c": 0.12554,
    "h": 110.7
  },
  "luminance": 0.2349
}

Semantic roles & 50–950 ramp

primary
#888A1B
secondary
#4745BC
accent
#3EEA41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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