#887B23#887B23

#887B23 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.106 H 100.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#887B23
RGBrgb(136, 123, 35)
HSLhsl(52, 59%, 34%)
HSVhsv(52, 74%, 53%)
CMYKcmyk(0%, 9.6%, 74.3%, 46.7%)
CIE-LABlab(51.29, -5.39, 47.21)
CIE-LCHlch(51.29, 47.52, 96.51°)
OKLaboklab(57.83% -0.0196 0.1046)
OKLCHoklch(57.83% 0.106 100.6)
XYZxyz(17.5405, 19.5223, 4.4340)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887B23 #233088
analogous
#884823 #887B23 #628823
triadic
#887B23 #23887B #7B2388
tetradic
#887B23 #238848 #233088 #882362
square
#887B23 #238848 #233088 #882362
split-complementary
#887B23 #236288 #482388
monochromatic
#27230A #574F16 #887B23 #B9A730 #D3C253

Accessibility & contrast

On white

4.28
#887B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#887B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887B23
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887B23#FFFFFF#000000##000000
##887B231.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877714
Deuteranopia (green-blind)
#8B7C29
Tritanopia (blue-blind)
#93726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #887b23;
/* rgb */ color: rgb(136, 123, 35);
/* oklch */ color: oklch(57.8% 0.106 100.6);
Tailwind
colors: {
  custom: {
    50: '#aea064',
    500: '#887b23',
    950: '#000000',
  },
}
SCSS
$custom: #887b23;
$custom-light: #aea064;
$custom-dark: #000000;
JSON
{
  "hex": "#887b23",
  "rgb": {
    "r": 136,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 52.277,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57828,
    "c": 0.10638,
    "h": 100.6
  },
  "luminance": 0.19522
}

Semantic roles & 50–950 ramp

primary
#887B23
secondary
#505DB7
accent
#5AE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #887B23

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

Preview Lab → · Contrast checker → · Palette generator →

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