#888022#888022

#888022 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.112 H 104.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#888022
RGBrgb(136, 128, 34)
HSLhsl(55, 60%, 33%)
HSVhsv(55, 75%, 53%)
CMYKcmyk(0%, 5.9%, 75%, 46.7%)
CIE-LABlab(52.72, -8.21, 48.98)
CIE-LCHlch(52.72, 49.66, 99.51°)
OKLaboklab(58.96% -0.0277 0.1081)
OKLCHoklch(58.96% 0.112 104.4)
XYZxyz(18.1620, 20.7888, 4.5690)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888022 #222A88
analogous
#884D22 #888022 #5D8822
triadic
#888022 #228880 #802288
tetradic
#888022 #22884D #222A88 #88225D
square
#888022 #22884D #222A88 #88225D
split-complementary
#888022 #225D88 #4D2288
monochromatic
#26240A #575216 #888022 #B9AE2E #D3C951

Accessibility & contrast

On white

4.07
#888022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#888022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888022
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888022#FFFFFF#000000##000000
##8880221.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B11
Deuteranopia (green-blind)
#8E8029
Tritanopia (blue-blind)
#93776E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #888022;
/* rgb */ color: rgb(136, 128, 34);
/* oklch */ color: oklch(59.0% 0.112 104.4);
Tailwind
colors: {
  custom: {
    50: '#aea464',
    500: '#888022',
    950: '#000000',
  },
}
SCSS
$custom: #888022;
$custom-light: #aea464;
$custom-dark: #000000;
JSON
{
  "hex": "#888022",
  "rgb": {
    "r": 136,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 55.294,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.11159,
    "h": 104.4
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

primary
#888022
secondary
#4F57B7
accent
#51E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #888022

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

Preview Lab → · Contrast checker → · Palette generator →

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