#887E27#887E27

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

Color values

HEX#887E27
RGBrgb(136, 126, 39)
HSLhsl(54, 55%, 34%)
HSVhsv(54, 71%, 53%)
CMYKcmyk(0%, 7.4%, 71.3%, 46.7%)
CIE-LABlab(52.18, -6.84, 46.45)
CIE-LCHlch(52.18, 46.96, 98.38°)
OKLaboklab(58.54% -0.0233 0.1037)
OKLCHoklch(58.54% 0.106 102.7)
XYZxyz(17.9812, 20.3032, 4.8908)
Luminance0.2030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E27 #273188
analogous
#884D27 #887E27 #628827
triadic
#887E27 #27887E #7E2788
tetradic
#887E27 #27884D #273188 #882762
square
#887E27 #27884D #273188 #882762
split-complementary
#887E27 #276288 #4D2788
monochromatic
#29260C #585219 #887E27 #B8AA35 #D0C35A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887E27#FFFFFF#000000##000000
##887E271.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)
#8A7A1A
Deuteranopia (green-blind)
#8D7E2C
Tritanopia (blue-blind)
#92756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887e27;
/* rgb */ color: rgb(136, 126, 39);
/* oklch */ color: oklch(58.5% 0.106 102.7);
Tailwind
colors: {
  custom: {
    50: '#aea367',
    500: '#887e27',
    950: '#000000',
  },
}
SCSS
$custom: #887e27;
$custom-light: #aea367;
$custom-dark: #000000;
JSON
{
  "hex": "#887e27",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 53.814,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5854,
    "c": 0.1063,
    "h": 102.7
  },
  "luminance": 0.20302
}

Semantic roles & 50–950 ramp

primary
#887E27
secondary
#5660B5
accent
#58DF49
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887E27

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

Preview Lab → · Contrast checker → · Palette generator →

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