#887F1E#887F1E

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

Color values

HEX#887F1E
RGBrgb(136, 127, 30)
HSLhsl(55, 64%, 33%)
HSVhsv(55, 78%, 53%)
CMYKcmyk(0%, 6.6%, 77.9%, 46.7%)
CIE-LABlab(52.41, -7.84, 50.16)
CIE-LCHlch(52.41, 50.76, 98.88°)
OKLaboklab(58.7% -0.0271 0.1098)
OKLCHoklch(58.7% 0.113 103.9)
XYZxyz(17.9779, 20.5075, 4.2394)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887F1E #1E2788
analogous
#884A1E #887F1E #5C881E
triadic
#887F1E #1E887F #7F1E88
tetradic
#887F1E #1E884A #1E2788 #881E5C
square
#887F1E #1E884A #1E2788 #881E5C
split-complementary
#887F1E #1E5C88 #4A1E88
monochromatic
#242108 #565013 #887F1E #BAAE29 #D7CB49

Accessibility & contrast

On white

4.12
#887F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#887F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887F1E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887F1E#FFFFFF#000000##000000
##887F1E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #887f1e;
/* rgb */ color: rgb(136, 127, 30);
/* oklch */ color: oklch(58.7% 0.113 103.9);
Tailwind
colors: {
  custom: {
    50: '#aea362',
    500: '#887f1e',
    950: '#000000',
  },
}
SCSS
$custom: #887f1e;
$custom-light: #aea362;
$custom-dark: #000000;
JSON
{
  "hex": "#887f1e",
  "rgb": {
    "r": 136,
    "g": 127,
    "b": 30
  },
  "hsl": {
    "h": 54.906,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58703,
    "c": 0.11308,
    "h": 103.9
  },
  "luminance": 0.20507
}

Semantic roles & 50–950 ramp

primary
#887F1E
secondary
#4952B9
accent
#4FE741
background
#FBFAF6
surface
#F6F3EB
border
#D0CDC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #887F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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