#877A29#877A29

#877A29 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.101 H 100.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#877A29
RGBrgb(135, 122, 41)
HSLhsl(52, 53%, 35%)
HSVhsv(52, 70%, 53%)
CMYKcmyk(0%, 9.6%, 69.6%, 47.1%)
CIE-LABlab(50.96, -4.96, 44.33)
CIE-LCHlch(50.96, 44.60, 96.38°)
OKLaboklab(57.55% -0.0177 0.0996)
OKLCHoklch(57.55% 0.101 100.1)
XYZxyz(17.3522, 19.2308, 4.8953)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877A29 #293687
analogous
#874B29 #877A29 #658729
triadic
#877A29 #29877A #7A2987
tetradic
#877A29 #29874B #293687 #872965
square
#877A29 #29874B #293687 #872965
split-complementary
#877A29 #296587 #4B2987
monochromatic
#29250C #58501B #877A29 #B6A437 #CEBE5D

Accessibility & contrast

On white

4.33
#877A29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#877A29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877A29
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877A29#FFFFFF#000000##000000
##877A291.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771E
Deuteranopia (green-blind)
#897B2E
Tritanopia (blue-blind)
#917169
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #877a29;
/* rgb */ color: rgb(135, 122, 41);
/* oklch */ color: oklch(57.6% 0.101 100.1);
Tailwind
colors: {
  custom: {
    50: '#ada068',
    500: '#877a29',
    950: '#000000',
  },
}
SCSS
$custom: #877a29;
$custom-light: #ada068;
$custom-dark: #000000;
JSON
{
  "hex": "#877a29",
  "rgb": {
    "r": 135,
    "g": 122,
    "b": 41
  },
  "hsl": {
    "h": 51.702,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.10117,
    "h": 100.1
  },
  "luminance": 0.1923
}

Semantic roles & 50–950 ramp

primary
#877A29
secondary
#5965B3
accent
#5FDD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877A29

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

Preview Lab → · Contrast checker → · Palette generator →

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