#877D43#877D43

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

Color values

HEX#877D43
RGBrgb(135, 125, 67)
HSLhsl(51, 34%, 40%)
HSVhsv(51, 50%, 53%)
CMYKcmyk(0%, 7.4%, 50.4%, 47.1%)
CIE-LABlab(52.09, -4.57, 32.78)
CIE-LCHlch(52.09, 33.09, 97.93°)
OKLaboklab(58.54% -0.0134 0.0782)
OKLCHoklch(58.54% 0.079 99.7)
XYZxyz(18.3389, 20.2240, 8.2467)
Luminance0.2022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877D43 #434D87
analogous
#875B43 #877D43 #6F8743
triadic
#877D43 #43877D #7D4387
tetradic
#877D43 #43875B #434D87 #87436F
square
#877D43 #43875B #434D87 #87436F
split-complementary
#877D43 #436F87 #5B4387
monochromatic
#35311A #5E572F #877D43 #ADA15A #C1B883

Accessibility & contrast

On white

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

On black

5.04
#877D43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877D43
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877D43#FFFFFF#000000##000000
##877D431.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877A3E
Deuteranopia (green-blind)
#8A7E45
Tritanopia (blue-blind)
#90766F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877d43;
/* rgb */ color: rgb(135, 125, 67);
/* oklch */ color: oklch(58.5% 0.079 99.7);
Tailwind
colors: {
  custom: {
    50: '#aba278',
    500: '#877d43',
    950: '#000000',
  },
}
SCSS
$custom: #877d43;
$custom-light: #aba278;
$custom-dark: #000000;
JSON
{
  "hex": "#877d43",
  "rgb": {
    "r": 135,
    "g": 125,
    "b": 67
  },
  "hsl": {
    "h": 51.176,
    "s": 33.663,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58541,
    "c": 0.07933,
    "h": 99.7
  },
  "luminance": 0.20223
}

Semantic roles & 50–950 ramp

primary
#877D43
secondary
#7981AC
accent
#6ECA5E
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#100F09
muted
#7F7E7B

Preview Lab

Preview with #877D43

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

Preview Lab → · Contrast checker → · Palette generator →

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