#877828#877828

#877828 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.100 H 98.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#877828
RGBrgb(135, 120, 40)
HSLhsl(51, 54%, 34%)
HSVhsv(51, 70%, 53%)
CMYKcmyk(0%, 11.1%, 70.4%, 47.1%)
CIE-LABlab(50.38, -3.90, 44.17)
CIE-LCHlch(50.38, 44.34, 95.04°)
OKLaboklab(57.09% -0.0148 0.0991)
OKLCHoklch(57.09% 0.1 98.5)
XYZxyz(17.0919, 18.7379, 4.7235)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877828 #283787
analogous
#874928 #877828 #678728
triadic
#877828 #288778 #782887
tetradic
#877828 #288749 #283787 #872867
square
#877828 #288749 #283787 #872867
split-complementary
#877828 #286787 #492887
monochromatic
#29240C #584E1A #877828 #B6A236 #CEBC5B

Accessibility & contrast

On white

4.42
#877828 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#877828 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877828
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877828#FFFFFF#000000##000000
##8778281.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84751D
Deuteranopia (green-blind)
#887A2D
Tritanopia (blue-blind)
#926F68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #877828;
/* rgb */ color: rgb(135, 120, 40);
/* oklch */ color: oklch(57.1% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#ad9e67',
    500: '#877828',
    950: '#000000',
  },
}
SCSS
$custom: #877828;
$custom-light: #ad9e67;
$custom-dark: #000000;
JSON
{
  "hex": "#877828",
  "rgb": {
    "r": 135,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 50.526,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57092,
    "c": 0.1002,
    "h": 98.5
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#877828
secondary
#5766B4
accent
#61DE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877828

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

Preview Lab → · Contrast checker → · Palette generator →

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