#887E26#887E26

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

Color values

HEX#887E26
RGBrgb(136, 126, 38)
HSLhsl(54, 56%, 34%)
HSVhsv(54, 72%, 53%)
CMYKcmyk(0%, 7.4%, 72.1%, 46.7%)
CIE-LABlab(52.17, -6.90, 46.86)
CIE-LCHlch(52.17, 47.37, 98.37°)
OKLaboklab(58.53% -0.0236 0.1044)
OKLCHoklch(58.53% 0.107 102.7)
XYZxyz(17.9648, 20.2966, 4.8047)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E26 #263088
analogous
#884D26 #887E26 #618826
triadic
#887E26 #26887E #7E2688
tetradic
#887E26 #26884D #263088 #882661
square
#887E26 #26884D #263088 #882661
split-complementary
#887E26 #266188 #4D2688
monochromatic
#28250B #585219 #887E26 #B8AA33 #D0C458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887E26#FFFFFF#000000##000000
##887E261.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)
#8A7A18
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#93756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887e26;
/* rgb */ color: rgb(136, 126, 38);
/* oklch */ color: oklch(58.5% 0.107 102.7);
Tailwind
colors: {
  custom: {
    50: '#aea366',
    500: '#887e26',
    950: '#000000',
  },
}
SCSS
$custom: #887e26;
$custom-light: #aea366;
$custom-dark: #000000;
JSON
{
  "hex": "#887e26",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 53.878,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58532,
    "c": 0.10701,
    "h": 102.7
  },
  "luminance": 0.20296
}

Semantic roles & 50–950 ramp

primary
#887E26
secondary
#555FB5
accent
#58E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887E26

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

Preview Lab → · Contrast checker → · Palette generator →

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