#887F26#887F26

#887F26 is a mid, moderate yellow. Relative luminance 0.206; OKLCH L 58.8% C 0.108 H 103.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#887F26
RGBrgb(136, 127, 38)
HSLhsl(54, 56%, 34%)
HSVhsv(54, 72%, 53%)
CMYKcmyk(0%, 6.6%, 72.1%, 46.7%)
CIE-LABlab(52.46, -7.45, 47.15)
CIE-LCHlch(52.46, 47.73, 98.98°)
OKLaboklab(58.76% -0.0251 0.105)
OKLCHoklch(58.76% 0.108 103.5)
XYZxyz(18.0933, 20.5537, 4.8475)
Luminance0.2055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F26 #262F88
analogous
#884E26 #887F26 #608826
triadic
#887F26 #26887F #7F2688
tetradic
#887F26 #26884E #262F88 #882660
square
#887F26 #26884E #262F88 #882660
split-complementary
#887F26 #266088 #4E2688
monochromatic
#28260B #585219 #887F26 #B8AC33 #D0C558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887F26#FFFFFF#000000##000000
##887F261.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)
#8B7B18
Deuteranopia (green-blind)
#8E7F2C
Tritanopia (blue-blind)
#92766D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #887f26;
/* rgb */ color: rgb(136, 127, 38);
/* oklch */ color: oklch(58.8% 0.108 103.5);
Tailwind
colors: {
  custom: {
    50: '#aea366',
    500: '#887f26',
    950: '#000000',
  },
}
SCSS
$custom: #887f26;
$custom-light: #aea366;
$custom-dark: #000000;
JSON
{
  "hex": "#887f26",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 38
  },
  "hsl": {
    "h": 54.49,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.5876,
    "c": 0.10796,
    "h": 103.5
  },
  "luminance": 0.20553
}

Semantic roles & 50–950 ramp

primary
#887F26
secondary
#555EB5
accent
#56E048
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #887F26

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

Preview Lab → · Contrast checker → · Palette generator →

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