#887A22#887A22

#887A22 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.106 H 99.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#887A22
RGBrgb(136, 122, 34)
HSLhsl(52, 60%, 33%)
HSVhsv(52, 75%, 53%)
CMYKcmyk(0%, 10.3%, 75%, 46.7%)
CIE-LABlab(51.00, -4.88, 47.33)
CIE-LCHlch(51.00, 47.58, 95.89°)
OKLaboklab(57.59% -0.0183 0.1046)
OKLCHoklch(57.59% 0.106 99.9)
XYZxyz(17.4024, 19.2696, 4.3158)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A22 #223088
analogous
#884722 #887A22 #638822
triadic
#887A22 #22887A #7A2288
tetradic
#887A22 #228847 #223088 #882263
square
#887A22 #228847 #223088 #882263
split-complementary
#887A22 #226388 #472288
monochromatic
#26220A #574E16 #887A22 #B9A62E #D3C251

Accessibility & contrast

On white

4.33
#887A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#887A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887A22
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887A22#FFFFFF#000000##000000
##887A221.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#937169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #887a22;
/* rgb */ color: rgb(136, 122, 34);
/* oklch */ color: oklch(57.6% 0.106 99.9);
Tailwind
colors: {
  custom: {
    50: '#aea064',
    500: '#887a22',
    950: '#000000',
  },
}
SCSS
$custom: #887a22;
$custom-light: #aea064;
$custom-dark: #000000;
JSON
{
  "hex": "#887a22",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 51.765,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.10619,
    "h": 99.9
  },
  "luminance": 0.19269
}

Semantic roles & 50–950 ramp

primary
#887A22
secondary
#4F5DB7
accent
#5AE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887A22

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

Preview Lab → · Contrast checker → · Palette generator →

#887A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva