#877B45#877B45

#877B45 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.075 H 97.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#877B45
RGBrgb(135, 123, 69)
HSLhsl(49, 32%, 40%)
HSVhsv(49, 49%, 53%)
CMYKcmyk(0%, 8.9%, 48.9%, 47.1%)
CIE-LABlab(51.55, -3.24, 31.04)
CIE-LCHlch(51.55, 31.21, 95.96°)
OKLaboklab(58.12% -0.0093 0.0745)
OKLCHoklch(58.12% 0.075 97.1)
XYZxyz(18.1493, 19.7472, 8.4846)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B45 #455187
analogous
#875A45 #877B45 #728745
triadic
#877B45 #45877B #7B4587
tetradic
#877B45 #45875A #455187 #874572
square
#877B45 #45875A #455187 #874572
split-complementary
#877B45 #457287 #5A4587
monochromatic
#36311C #5F5630 #877B45 #AC9E5D #C1B685

Accessibility & contrast

On white

4.24
#877B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#877B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B45
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B45#FFFFFF#000000##000000
##877B451.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#857841
Deuteranopia (green-blind)
#887D47
Tritanopia (blue-blind)
#90746E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #877b45;
/* rgb */ color: rgb(135, 123, 69);
/* oklch */ color: oklch(58.1% 0.075 97.1);
Tailwind
colors: {
  custom: {
    50: '#aba17a',
    500: '#877b45',
    950: '#000000',
  },
}
SCSS
$custom: #877b45;
$custom-light: #aba17a;
$custom-dark: #000000;
JSON
{
  "hex": "#877b45",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 49.091,
    "s": 32.353,
    "l": 40
  },
  "oklch": {
    "l": 0.58123,
    "c": 0.07508,
    "h": 97.1
  },
  "luminance": 0.19746
}

Semantic roles & 50–950 ramp

primary
#877B45
secondary
#7C84AC
accent
#72C95F
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100E09
muted
#7F7E7B

Preview Lab

Preview with #877B45

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

Preview Lab → · Contrast checker → · Palette generator →

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