#887A23#887A23

#887A23 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.86:1 contrast (WCAG AA passes).

Color values

HEX#887A23
RGBrgb(136, 122, 35)
HSLhsl(52, 59%, 34%)
HSVhsv(52, 74%, 53%)
CMYKcmyk(0%, 10.3%, 74.3%, 46.7%)
CIE-LABlab(51.01, -4.83, 46.94)
CIE-LCHlch(51.01, 47.18, 95.87°)
OKLaboklab(57.6% -0.0181 0.104)
OKLCHoklch(57.6% 0.106 99.9)
XYZxyz(17.4171, 19.2755, 4.3929)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887A23 #233188
analogous
#884723 #887A23 #638823
triadic
#887A23 #23887A #7A2388
tetradic
#887A23 #238847 #233188 #882363
square
#887A23 #238847 #233188 #882363
split-complementary
#887A23 #236388 #472388
monochromatic
#27230A #574E16 #887A23 #B9A630 #D3C153

Accessibility & contrast

On white

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

On black

4.86
#887A23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887A23
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887A23#FFFFFF#000000##000000
##887A231.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #887a23;
/* rgb */ color: rgb(136, 122, 35);
/* oklch */ color: oklch(57.6% 0.106 99.9);
Tailwind
colors: {
  custom: {
    50: '#aea064',
    500: '#887a23',
    950: '#000000',
  },
}
SCSS
$custom: #887a23;
$custom-light: #aea064;
$custom-dark: #000000;
JSON
{
  "hex": "#887a23",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 51.683,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.10552,
    "h": 99.9
  },
  "luminance": 0.19275
}

Semantic roles & 50–950 ramp

primary
#887A23
secondary
#505EB7
accent
#5BE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887A23

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

Preview Lab → · Contrast checker → · Palette generator →

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