#887F22#887F22

#887F22 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.111 H 103.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#887F22
RGBrgb(136, 127, 34)
HSLhsl(55, 60%, 33%)
HSVhsv(55, 75%, 53%)
CMYKcmyk(0%, 6.6%, 75%, 46.7%)
CIE-LABlab(52.43, -7.66, 48.70)
CIE-LCHlch(52.43, 49.30, 98.93°)
OKLaboklab(58.73% -0.0262 0.1075)
OKLCHoklch(58.73% 0.111 103.7)
XYZxyz(18.0322, 20.5292, 4.5258)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F22 #222B88
analogous
#884C22 #887F22 #5E8822
triadic
#887F22 #22887F #7F2288
tetradic
#887F22 #22884C #222B88 #88225E
square
#887F22 #22884C #222B88 #88225E
split-complementary
#887F22 #225E88 #4C2288
monochromatic
#26240A #575116 #887F22 #B9AD2E #D3C851

Accessibility & contrast

On white

4.11
#887F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#887F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F22
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F22#FFFFFF#000000##000000
##887F221.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B11
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#93766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f22;
/* rgb */ color: rgb(136, 127, 34);
/* oklch */ color: oklch(58.7% 0.111 103.7);
Tailwind
colors: {
  custom: {
    50: '#aea364',
    500: '#887f22',
    950: '#000000',
  },
}
SCSS
$custom: #887f22;
$custom-light: #aea364;
$custom-dark: #000000;
JSON
{
  "hex": "#887f22",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 54.706,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5873,
    "c": 0.11065,
    "h": 103.7
  },
  "luminance": 0.20528
}

Semantic roles & 50–950 ramp

primary
#887F22
secondary
#4F58B7
accent
#53E345
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #887F22

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

Preview Lab → · Contrast checker → · Palette generator →

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