#887D23#887D23

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

Color values

HEX#887D23
RGBrgb(136, 125, 35)
HSLhsl(53, 59%, 34%)
HSVhsv(53, 74%, 53%)
CMYKcmyk(0%, 8.1%, 74.3%, 46.7%)
CIE-LABlab(51.86, -6.50, 47.77)
CIE-LCHlch(51.86, 48.21, 97.75°)
OKLaboklab(58.28% -0.0228 0.1057)
OKLCHoklch(58.28% 0.108 102.2)
XYZxyz(17.7911, 20.0236, 4.5176)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887D23 #232E88
analogous
#884A23 #887D23 #608823
triadic
#887D23 #23887D #7D2388
tetradic
#887D23 #23884A #232E88 #882360
square
#887D23 #23884A #232E88 #882360
split-complementary
#887D23 #236088 #4A2388
monochromatic
#27240A #575016 #887D23 #B9AA30 #D3C553

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887D23#FFFFFF#000000##000000
##887D231.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)
#897914
Deuteranopia (green-blind)
#8C7E29
Tritanopia (blue-blind)
#93746B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887d23;
/* rgb */ color: rgb(136, 125, 35);
/* oklch */ color: oklch(58.3% 0.108 102.2);
Tailwind
colors: {
  custom: {
    50: '#aea265',
    500: '#887d23',
    950: '#000000',
  },
}
SCSS
$custom: #887d23;
$custom-light: #aea265;
$custom-dark: #000000;
JSON
{
  "hex": "#887d23",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 53.465,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.10816,
    "h": 102.2
  },
  "luminance": 0.20023
}

Semantic roles & 50–950 ramp

primary
#887D23
secondary
#505BB7
accent
#57E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887D23

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

Preview Lab → · Contrast checker → · Palette generator →

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