#887E25#887E25

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

Color values

HEX#887E25
RGBrgb(136, 126, 37)
HSLhsl(54, 57%, 34%)
HSVhsv(54, 73%, 53%)
CMYKcmyk(0%, 7.4%, 72.8%, 46.7%)
CIE-LABlab(52.16, -6.95, 47.26)
CIE-LCHlch(52.16, 47.77, 98.37°)
OKLaboklab(58.52% -0.0238 0.105)
OKLCHoklch(58.52% 0.108 102.8)
XYZxyz(17.9489, 20.2903, 4.7209)
Luminance0.2029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887E25 #252F88
analogous
#884D25 #887E25 #618825
triadic
#887E25 #25887E #7E2588
tetradic
#887E25 #25884D #252F88 #882561
square
#887E25 #25884D #252F88 #882561
split-complementary
#887E25 #256188 #4D2588
monochromatic
#28250B #585118 #887E25 #B8AB32 #D1C556

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887E25#FFFFFF#000000##000000
##887E251.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)
#8A7A17
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#93756C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #887e25;
/* rgb */ color: rgb(136, 126, 37);
/* oklch */ color: oklch(58.5% 0.108 102.8);
Tailwind
colors: {
  custom: {
    50: '#aea366',
    500: '#887e25',
    950: '#000000',
  },
}
SCSS
$custom: #887e25;
$custom-light: #aea366;
$custom-dark: #000000;
JSON
{
  "hex": "#887e25",
  "rgb": {
    "r": 136,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 53.939,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.10771,
    "h": 102.8
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#887E25
secondary
#535DB6
accent
#57E047
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #887E25

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

Preview Lab → · Contrast checker → · Palette generator →

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