#888818#888818

#888818 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.7% C 0.125 H 109.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#888818
RGBrgb(136, 136, 24)
HSLhsl(60, 70%, 31%)
HSVhsv(60, 82%, 53%)
CMYKcmyk(0%, 0%, 82.4%, 46.7%)
CIE-LABlab(54.98, -12.96, 54.38)
CIE-LCHlch(54.98, 55.91, 103.40°)
OKLaboklab(60.75% -0.0419 0.1177)
OKLCHoklch(60.75% 0.125 109.6)
XYZxyz(19.1231, 22.9091, 4.2785)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888818 #181888
analogous
#885018 #888818 #508818
triadic
#888818 #188888 #881888
tetradic
#888818 #188850 #181888 #881850
square
#888818 #188850 #181888 #881850
split-complementary
#888818 #185088 #501888
monochromatic
#202006 #54540F #888818 #BCBC21 #DDDD3E

Accessibility & contrast

On white

3.76
#888818 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#888818 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888818
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888818#FFFFFF#000000##000000
##8888181.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#958523
Tritanopia (blue-blind)
#927F74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #888818;
/* rgb */ color: rgb(136, 136, 24);
/* oklch */ color: oklch(60.7% 0.125 109.6);
Tailwind
colors: {
  custom: {
    50: '#aeaa61',
    500: '#888818',
    950: '#000000',
  },
}
SCSS
$custom: #888818;
$custom-light: #aeaa61;
$custom-dark: #000000;
JSON
{
  "hex": "#888818",
  "rgb": {
    "r": 136,
    "g": 136,
    "b": 24
  },
  "hsl": {
    "h": 60,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.60745,
    "c": 0.1249,
    "h": 109.6
  },
  "luminance": 0.22909
}

Semantic roles & 50–950 ramp

primary
#888818
secondary
#4040BC
accent
#3BED3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #888818

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

Preview Lab → · Contrast checker → · Palette generator →

#888818 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva