#888222#888222

#888222 is a mid, moderate yellow. Relative luminance 0.213; OKLCH L 59.4% C 0.114 H 105.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#888222
RGBrgb(136, 130, 34)
HSLhsl(56, 60%, 33%)
HSVhsv(56, 75%, 53%)
CMYKcmyk(0%, 4.4%, 75%, 46.7%)
CIE-LABlab(53.29, -9.30, 49.53)
CIE-LCHlch(53.29, 50.39, 100.64°)
OKLaboklab(59.42% -0.0308 0.1093)
OKLCHoklch(59.42% 0.114 105.7)
XYZxyz(18.4255, 21.3157, 4.6568)
Luminance0.2132 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888222 #222888
analogous
#884F22 #888222 #5B8822
triadic
#888222 #228882 #822288
tetradic
#888222 #22884F #222888 #88225B
square
#888222 #22884F #222888 #88225B
split-complementary
#888222 #225B88 #4F2288
monochromatic
#26240A #575316 #888222 #B9B12E #D3CC51

Accessibility & contrast

On white

3.99
#888222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#888222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #888222
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888222#FFFFFF#000000##000000
##8882221.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D10
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#92796F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #888222;
/* rgb */ color: rgb(136, 130, 34);
/* oklch */ color: oklch(59.4% 0.114 105.7);
Tailwind
colors: {
  custom: {
    50: '#aea665',
    500: '#888222',
    950: '#000000',
  },
}
SCSS
$custom: #888222;
$custom-light: #aea665;
$custom-dark: #000000;
JSON
{
  "hex": "#888222",
  "rgb": {
    "r": 136,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 56.471,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.11352,
    "h": 105.7
  },
  "luminance": 0.21315
}

Semantic roles & 50–950 ramp

primary
#888222
secondary
#4F55B7
accent
#4EE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #888222

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

Preview Lab → · Contrast checker → · Palette generator →

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