#877126#877126

#877126 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.5% C 0.096 H 92.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#877126
RGBrgb(135, 113, 38)
HSLhsl(46, 56%, 34%)
HSVhsv(46, 72%, 53%)
CMYKcmyk(0%, 16.3%, 71.9%, 47.1%)
CIE-LABlab(48.39, -0.04, 43.02)
CIE-LCHlch(48.39, 43.02, 90.06°)
OKLaboklab(55.51% -0.004 0.0963)
OKLCHoklch(55.51% 0.096 92.4)
XYZxyz(16.2475, 17.1020, 4.2786)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877126 #263C87
analogous
#874126 #877126 #6D8726
triadic
#877126 #268771 #712687
tetradic
#877126 #268741 #263C87 #87266D
square
#877126 #268741 #263C87 #87266D
split-complementary
#877126 #266D87 #412687
monochromatic
#27210B #574919 #877126 #B79933 #D0B558

Accessibility & contrast

On white

4.75
#877126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#877126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877126
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877126#FFFFFF#000000##FFFFFF
##8771261.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F1C
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#926862
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #877126;
/* rgb */ color: rgb(135, 113, 38);
/* oklch */ color: oklch(55.5% 0.096 92.4);
Tailwind
colors: {
  custom: {
    50: '#ad9965',
    500: '#877126',
    950: '#000000',
  },
}
SCSS
$custom: #877126;
$custom-light: #ad9965;
$custom-dark: #000000;
JSON
{
  "hex": "#877126",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 46.392,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.09638,
    "h": 92.4
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#877126
secondary
#546AB5
accent
#6BDF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D06
muted
#807E7A

Preview Lab

Preview with #877126

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

Preview Lab → · Contrast checker → · Palette generator →

#877126 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva