#888A1C#888A1C

#888A1C 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#888A1C
RGBrgb(136, 138, 28)
HSLhsl(61, 66%, 33%)
HSVhsv(61, 80%, 54%)
CMYKcmyk(1.4%, 0%, 79.7%, 45.9%)
CIE-LABlab(55.58, -13.88, 53.71)
CIE-LCHlch(55.58, 55.48, 104.49°)
OKLaboklab(61.23% -0.0441 0.117)
OKLCHoklch(61.23% 0.125 110.7)
XYZxyz(19.4521, 23.4956, 4.6088)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888A1C #1E1C8A
analogous
#8A551C #888A1C #518A1C
triadic
#888A1C #1C888A #8A1C88
tetradic
#888A1C #1C8A55 #1E1C8A #8A1C51
square
#888A1C #1C8A55 #1E1C8A #8A1C51
split-complementary
#888A1C #1C518A #551C8A
monochromatic
#242407 #565712 #888A1C #BABD26 #D7DA47

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##888A1C#FFFFFF#000000##000000
##888A1C1.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)
#968726
Tritanopia (blue-blind)
#928176
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #888a1c;
/* rgb */ color: rgb(136, 138, 28);
/* oklch */ color: oklch(61.2% 0.125 110.7);
Tailwind
colors: {
  custom: {
    50: '#aeab63',
    500: '#888a1c',
    950: '#000000',
  },
}
SCSS
$custom: #888a1c;
$custom-light: #aeab63;
$custom-dark: #000000;
JSON
{
  "hex": "#888a1c",
  "rgb": {
    "r": 136,
    "g": 138,
    "b": 28
  },
  "hsl": {
    "h": 61.091,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.61231,
    "c": 0.12504,
    "h": 110.7
  },
  "luminance": 0.23495
}

Semantic roles & 50–950 ramp

primary
#888A1C
secondary
#4946BB
accent
#3FE942
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #888A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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