#877B28#877B28

#877B28 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.103 H 101.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#877B28
RGBrgb(135, 123, 40)
HSLhsl(52, 54%, 34%)
HSVhsv(52, 70%, 53%)
CMYKcmyk(0%, 8.9%, 70.4%, 47.1%)
CIE-LABlab(51.23, -5.58, 45.04)
CIE-LCHlch(51.23, 45.39, 97.06°)
OKLaboklab(57.77% -0.0195 0.101)
OKLCHoklch(57.77% 0.103 101)
XYZxyz(17.4584, 19.4708, 4.8457)
Luminance0.1947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B28 #283487
analogous
#874C28 #877B28 #648728
triadic
#877B28 #28877B #7B2887
tetradic
#877B28 #28874C #283487 #872864
square
#877B28 #28874C #283487 #872864
split-complementary
#877B28 #286487 #4C2887
monochromatic
#29250C #58501A #877B28 #B6A636 #CEC05B

Accessibility & contrast

On white

4.29
#877B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#877B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B28
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B28#FFFFFF#000000##000000
##877B281.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87771C
Deuteranopia (green-blind)
#8A7C2D
Tritanopia (blue-blind)
#91726A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b28;
/* rgb */ color: rgb(135, 123, 40);
/* oklch */ color: oklch(57.8% 0.103 101.0);
Tailwind
colors: {
  custom: {
    50: '#ada067',
    500: '#877b28',
    950: '#000000',
  },
}
SCSS
$custom: #877b28;
$custom-light: #ada067;
$custom-dark: #000000;
JSON
{
  "hex": "#877b28",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 52.421,
    "s": 54.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.10283,
    "h": 101
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#877B28
secondary
#5763B4
accent
#5DDE4A
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B28

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

Preview Lab → · Contrast checker → · Palette generator →

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