#887F23#887F23

#887F23 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.110 H 103.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#887F23
RGBrgb(136, 127, 35)
HSLhsl(55, 59%, 34%)
HSVhsv(55, 74%, 53%)
CMYKcmyk(0%, 6.6%, 74.3%, 46.7%)
CIE-LABlab(52.44, -7.61, 48.32)
CIE-LCHlch(52.44, 48.92, 98.94°)
OKLaboklab(58.74% -0.0259 0.1069)
OKLCHoklch(58.74% 0.11 103.6)
XYZxyz(18.0469, 20.5351, 4.6028)
Luminance0.2053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F23 #232C88
analogous
#884C23 #887F23 #5E8823
triadic
#887F23 #23887F #7F2388
tetradic
#887F23 #23884C #232C88 #88235E
square
#887F23 #23884C #232C88 #88235E
split-complementary
#887F23 #235E88 #4C2388
monochromatic
#27240A #575216 #887F23 #B9AC30 #D3C753

Accessibility & contrast

On white

4.11
#887F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#887F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F23
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F23#FFFFFF#000000##000000
##887F231.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B13
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#93766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f23;
/* rgb */ color: rgb(136, 127, 35);
/* oklch */ color: oklch(58.7% 0.110 103.6);
Tailwind
colors: {
  custom: {
    50: '#aea365',
    500: '#887f23',
    950: '#000000',
  },
}
SCSS
$custom: #887f23;
$custom-light: #aea365;
$custom-dark: #000000;
JSON
{
  "hex": "#887f23",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 54.653,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58737,
    "c": 0.11,
    "h": 103.6
  },
  "luminance": 0.20534
}

Semantic roles & 50–950 ramp

primary
#887F23
secondary
#5059B7
accent
#54E246
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #887F23

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

Preview Lab → · Contrast checker → · Palette generator →

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