#877B29#877B29

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

Color values

HEX#877B29
RGBrgb(135, 123, 41)
HSLhsl(52, 53%, 35%)
HSVhsv(52, 70%, 53%)
CMYKcmyk(0%, 8.9%, 69.6%, 47.1%)
CIE-LABlab(51.24, -5.52, 44.62)
CIE-LCHlch(51.24, 44.96, 97.05°)
OKLaboklab(57.78% -0.0193 0.1002)
OKLCHoklch(57.78% 0.102 100.9)
XYZxyz(17.4756, 19.4777, 4.9364)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877B29 #293587
analogous
#874C29 #877B29 #648729
triadic
#877B29 #29877B #7B2987
tetradic
#877B29 #29874C #293587 #872964
square
#877B29 #29874C #293587 #872964
split-complementary
#877B29 #296487 #4C2987
monochromatic
#29250C #58501B #877B29 #B6A637 #CEBF5D

Accessibility & contrast

On white

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

On black

4.90
#877B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877B29
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877B29#FFFFFF#000000##000000
##877B291.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #877b29;
/* rgb */ color: rgb(135, 123, 41);
/* oklch */ color: oklch(57.8% 0.102 100.9);
Tailwind
colors: {
  custom: {
    50: '#ada068',
    500: '#877b29',
    950: '#000000',
  },
}
SCSS
$custom: #877b29;
$custom-light: #ada068;
$custom-dark: #000000;
JSON
{
  "hex": "#877b29",
  "rgb": {
    "r": 135,
    "g": 123,
    "b": 41
  },
  "hsl": {
    "h": 52.34,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.10207,
    "h": 100.9
  },
  "luminance": 0.19477
}

Semantic roles & 50–950 ramp

primary
#877B29
secondary
#5964B3
accent
#5EDD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877B29

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

Preview Lab → · Contrast checker → · Palette generator →

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