#887E23#887E23

#887E23 is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.109 H 102.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#887E23
RGBrgb(136, 126, 35)
HSLhsl(54, 59%, 34%)
HSVhsv(54, 74%, 53%)
CMYKcmyk(0%, 7.4%, 74.3%, 46.7%)
CIE-LABlab(52.15, -7.05, 48.05)
CIE-LCHlch(52.15, 48.56, 98.35°)
OKLaboklab(58.51% -0.0244 0.1063)
OKLCHoklch(58.51% 0.109 102.9)
XYZxyz(17.9184, 20.2781, 4.5600)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E23 #232D88
analogous
#884B23 #887E23 #5F8823
triadic
#887E23 #23887E #7E2388
tetradic
#887E23 #23884B #232D88 #88235F
square
#887E23 #23884B #232D88 #88235F
split-complementary
#887E23 #235F88 #4B2388
monochromatic
#27240A #575116 #887E23 #B9AB30 #D3C653

Accessibility & contrast

On white

4.15
#887E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#887E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887E23
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887E23#FFFFFF#000000##000000
##887E231.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A13
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#93756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887e23;
/* rgb */ color: rgb(136, 126, 35);
/* oklch */ color: oklch(58.5% 0.109 102.9);
Tailwind
colors: {
  custom: {
    50: '#aea365',
    500: '#887e23',
    950: '#000000',
  },
}
SCSS
$custom: #887e23;
$custom-light: #aea365;
$custom-dark: #000000;
JSON
{
  "hex": "#887e23",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 54.059,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58509,
    "c": 0.10907,
    "h": 102.9
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#887E23
secondary
#505AB7
accent
#55E246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887E23

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

Preview Lab → · Contrast checker → · Palette generator →

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