#887D22#887D22

#887D22 is a mid, moderate yellow. Relative luminance 0.200; OKLCH L 58.3% C 0.109 H 102.2°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#887D22
RGBrgb(136, 125, 34)
HSLhsl(54, 60%, 33%)
HSVhsv(54, 75%, 53%)
CMYKcmyk(0%, 8.1%, 75%, 46.7%)
CIE-LABlab(51.86, -6.55, 48.15)
CIE-LCHlch(51.86, 48.60, 97.75°)
OKLaboklab(58.27% -0.023 0.1063)
OKLCHoklch(58.27% 0.109 102.2)
XYZxyz(17.7765, 20.0177, 4.4405)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887D22 #222D88
analogous
#884A22 #887D22 #608822
triadic
#887D22 #22887D #7D2288
tetradic
#887D22 #22884A #222D88 #882260
square
#887D22 #22884A #222D88 #882260
split-complementary
#887D22 #226088 #4A2288
monochromatic
#26230A #575016 #887D22 #B9AA2E #D3C551

Accessibility & contrast

On white

4.20
#887D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#887D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887D22
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887D22#FFFFFF#000000##000000
##887D221.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#897912
Deuteranopia (green-blind)
#8C7E28
Tritanopia (blue-blind)
#93746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887d22;
/* rgb */ color: rgb(136, 125, 34);
/* oklch */ color: oklch(58.3% 0.109 102.2);
Tailwind
colors: {
  custom: {
    50: '#aea264',
    500: '#887d22',
    950: '#000000',
  },
}
SCSS
$custom: #887d22;
$custom-light: #aea264;
$custom-dark: #000000;
JSON
{
  "hex": "#887d22",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 53.529,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58274,
    "c": 0.10881,
    "h": 102.2
  },
  "luminance": 0.20017
}

Semantic roles & 50–950 ramp

primary
#887D22
secondary
#4F5AB7
accent
#56E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887D22

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

Preview Lab → · Contrast checker → · Palette generator →

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