#877B38#877B38

#877B38 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.089 H 99.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#877B38
RGBrgb(135, 123, 56)
HSLhsl(51, 41%, 37%)
HSVhsv(51, 59%, 53%)
CMYKcmyk(0%, 8.9%, 58.5%, 47.1%)
CIE-LABlab(51.39, -4.45, 37.67)
CIE-LCHlch(51.39, 37.93, 96.74°)
OKLaboklab(57.94% -0.0143 0.0877)
OKLCHoklch(57.94% 0.089 99.3)
XYZxyz(17.7891, 19.6031, 6.5873)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B38 #384487
analogous
#875438 #877B38 #6C8738
triadic
#877B38 #38877B #7B3887
tetradic
#877B38 #388754 #384487 #87386C
square
#877B38 #388754 #384487 #87386C
split-complementary
#877B38 #386C87 #543887
monochromatic
#302C14 #5C5426 #877B38 #B2A24A #C5B974

Accessibility & contrast

On white

4.27
#877B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#877B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B38
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B38#FFFFFF#000000##000000
##877B381.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#867831
Deuteranopia (green-blind)
#897C3B
Tritanopia (blue-blind)
#91736C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #877b38;
/* rgb */ color: rgb(135, 123, 56);
/* oklch */ color: oklch(57.9% 0.089 99.3);
Tailwind
colors: {
  custom: {
    50: '#aca171',
    500: '#877b38',
    950: '#000000',
  },
}
SCSS
$custom: #877b38;
$custom-light: #aca171;
$custom-dark: #000000;
JSON
{
  "hex": "#877b38",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 56
  },
  "hsl": {
    "h": 50.886,
    "s": 41.361,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.08888,
    "h": 99.3
  },
  "luminance": 0.19602
}

Semantic roles & 50–950 ramp

primary
#877B38
secondary
#6D77AE
accent
#69D157
background
#FAF9F6
surface
#F4F2EC
border
#CECCC7
text
#100E08
muted
#7F7E7B

Preview Lab

Preview with #877B38

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

Preview Lab → · Contrast checker → · Palette generator →

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