#887E22#887E22

#887E22 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.110 H 103.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#887E22
RGBrgb(136, 126, 34)
HSLhsl(54, 60%, 33%)
HSVhsv(54, 75%, 53%)
CMYKcmyk(0%, 7.4%, 75%, 46.7%)
CIE-LABlab(52.14, -7.10, 48.43)
CIE-LCHlch(52.14, 48.95, 98.34°)
OKLaboklab(58.5% -0.0246 0.1069)
OKLCHoklch(58.5% 0.11 103)
XYZxyz(17.9037, 20.2722, 4.4829)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E22 #222C88
analogous
#884B22 #887E22 #5F8822
triadic
#887E22 #22887E #7E2288
tetradic
#887E22 #22884B #222C88 #88225F
square
#887E22 #22884B #222C88 #88225F
split-complementary
#887E22 #225F88 #4B2288
monochromatic
#26230A #575116 #887E22 #B9AB2E #D3C751

Accessibility & contrast

On white

4.15
#887E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#887E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887E22
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887E22#FFFFFF#000000##000000
##887E221.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A12
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#93756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887e22;
/* rgb */ color: rgb(136, 126, 34);
/* oklch */ color: oklch(58.5% 0.110 103.0);
Tailwind
colors: {
  custom: {
    50: '#aea364',
    500: '#887e22',
    950: '#000000',
  },
}
SCSS
$custom: #887e22;
$custom-light: #aea364;
$custom-dark: #000000;
JSON
{
  "hex": "#887e22",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 54.118,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58502,
    "c": 0.10973,
    "h": 103
  },
  "luminance": 0.20271
}

Semantic roles & 50–950 ramp

primary
#887E22
secondary
#4F59B7
accent
#54E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887E22

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

Preview Lab → · Contrast checker → · Palette generator →

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