#877E2D#877E2D

#877E2D is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.5% C 0.102 H 103.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#877E2D
RGBrgb(135, 126, 45)
HSLhsl(54, 50%, 35%)
HSVhsv(54, 67%, 53%)
CMYKcmyk(0%, 6.7%, 66.7%, 47.1%)
CIE-LABlab(52.13, -6.93, 43.77)
CIE-LCHlch(52.13, 44.31, 99.00°)
OKLaboklab(58.5% -0.0228 0.0991)
OKLCHoklch(58.5% 0.102 103)
XYZxyz(17.9269, 20.2628, 5.4489)
Luminance0.2026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E2D #2D3687
analogous
#87512D #877E2D #63872D
triadic
#877E2D #2D877E #7E2D87
tetradic
#877E2D #2D8751 #2D3687 #872D63
square
#877E2D #2D8751 #2D3687 #872D63
split-complementary
#877E2D #2D6387 #512D87
monochromatic
#2B280E #59531E #877E2D #B5A93C #CBC163

Accessibility & contrast

On white

4.16
#877E2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#877E2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E2D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E2D#FFFFFF#000000##000000
##877E2D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#8C7E32
Tritanopia (blue-blind)
#91756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e2d;
/* rgb */ color: rgb(135, 126, 45);
/* oklch */ color: oklch(58.5% 0.102 103.0);
Tailwind
colors: {
  custom: {
    50: '#ada36a',
    500: '#877e2d',
    950: '#000000',
  },
}
SCSS
$custom: #877e2d;
$custom-light: #ada36a;
$custom-dark: #000000;
JSON
{
  "hex": "#877e2d",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 45
  },
  "hsl": {
    "h": 54,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58497,
    "c": 0.10171,
    "h": 103
  },
  "luminance": 0.20262
}

Semantic roles & 50–950 ramp

primary
#877E2D
secondary
#5E67B2
accent
#5CDA4E
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#110F07
muted
#807F7A

Preview Lab

Preview with #877E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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