#877C25#877C25

#877C25 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.106 H 102.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#877C25
RGBrgb(135, 124, 37)
HSLhsl(53, 57%, 34%)
HSVhsv(53, 73%, 53%)
CMYKcmyk(0%, 8.1%, 72.6%, 47.1%)
CIE-LABlab(51.50, -6.30, 46.57)
CIE-LCHlch(51.50, 47.00, 97.71°)
OKLaboklab(57.97% -0.022 0.1036)
OKLCHoklch(57.97% 0.106 102)
XYZxyz(17.5340, 19.7005, 4.6289)
Luminance0.1970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877C25 #253087
analogous
#874B25 #877C25 #618725
triadic
#877C25 #25877C #7C2587
tetradic
#877C25 #25874B #253087 #872561
square
#877C25 #25874B #253087 #872561
split-complementary
#877C25 #256187 #4B2587
monochromatic
#27240B #575018 #877C25 #B7A832 #D1C356

Accessibility & contrast

On white

4.25
#877C25 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#877C25 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877C25
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877C25#FFFFFF#000000##000000
##877C251.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887817
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#92736B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877c25;
/* rgb */ color: rgb(135, 124, 37);
/* oklch */ color: oklch(58.0% 0.106 102.0);
Tailwind
colors: {
  custom: {
    50: '#ada165',
    500: '#877c25',
    950: '#000000',
  },
}
SCSS
$custom: #877c25;
$custom-light: #ada165;
$custom-dark: #000000;
JSON
{
  "hex": "#877c25",
  "rgb": {
    "r": 135,
    "g": 124,
    "b": 37
  },
  "hsl": {
    "h": 53.265,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.10592,
    "h": 102
  },
  "luminance": 0.197
}

Semantic roles & 50–950 ramp

primary
#877C25
secondary
#535EB5
accent
#59E048
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877C25

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

Preview Lab → · Contrast checker → · Palette generator →

#877C25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva