#877E2B#877E2B

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

Color values

HEX#877E2B
RGBrgb(135, 126, 43)
HSLhsl(54, 52%, 35%)
HSVhsv(54, 68%, 53%)
CMYKcmyk(0%, 6.7%, 68.1%, 47.1%)
CIE-LABlab(52.12, -7.06, 44.64)
CIE-LCHlch(52.12, 45.20, 98.99°)
OKLaboklab(58.48% -0.0234 0.1006)
OKLCHoklch(58.48% 0.103 103.1)
XYZxyz(17.8893, 20.2477, 5.2509)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E2B #2B3487
analogous
#87502B #877E2B #62872B
triadic
#877E2B #2B877E #7E2B87
tetradic
#877E2B #2B8750 #2B3487 #872B62
square
#877E2B #2B8750 #2B3487 #872B62
split-complementary
#877E2B #2B6287 #502B87
monochromatic
#2A270D #59531C #877E2B #B5A93A #CCC260

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877E2B#FFFFFF#000000##000000
##877E2B1.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)
#897A20
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#91756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e2b;
/* rgb */ color: rgb(135, 126, 43);
/* oklch */ color: oklch(58.5% 0.103 103.1);
Tailwind
colors: {
  custom: {
    50: '#ada369',
    500: '#877e2b',
    950: '#000000',
  },
}
SCSS
$custom: #877e2b;
$custom-light: #ada369;
$custom-dark: #000000;
JSON
{
  "hex": "#877e2b",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 43
  },
  "hsl": {
    "h": 54.13,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58479,
    "c": 0.10333,
    "h": 103.1
  },
  "luminance": 0.20247
}

Semantic roles & 50–950 ramp

primary
#877E2B
secondary
#5B64B2
accent
#5BDB4D
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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