#877E29#877E29

#877E29 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.105 H 103.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#877E29
RGBrgb(135, 126, 41)
HSLhsl(54, 53%, 35%)
HSVhsv(54, 70%, 53%)
CMYKcmyk(0%, 6.7%, 69.6%, 47.1%)
CIE-LABlab(52.10, -7.18, 45.50)
CIE-LCHlch(52.10, 46.06, 98.97°)
OKLaboklab(58.46% -0.024 0.1021)
OKLCHoklch(58.46% 0.105 103.2)
XYZxyz(17.8535, 20.2334, 5.0624)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877E29 #293287
analogous
#874F29 #877E29 #618729
triadic
#877E29 #29877E #7E2987
tetradic
#877E29 #29874F #293287 #872961
square
#877E29 #29874F #293287 #872961
split-complementary
#877E29 #296187 #4F2987
monochromatic
#29260C #58521B #877E29 #B6AA37 #CEC35D

Accessibility & contrast

On white

4.16
#877E29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#877E29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877E29
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877E29#FFFFFF#000000##000000
##877E291.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1D
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#91756D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #877e29;
/* rgb */ color: rgb(135, 126, 41);
/* oklch */ color: oklch(58.5% 0.105 103.2);
Tailwind
colors: {
  custom: {
    50: '#ada368',
    500: '#877e29',
    950: '#000000',
  },
}
SCSS
$custom: #877e29;
$custom-light: #ada368;
$custom-dark: #000000;
JSON
{
  "hex": "#877e29",
  "rgb": {
    "r": 135,
    "g": 126,
    "b": 41
  },
  "hsl": {
    "h": 54.255,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58461,
    "c": 0.10487,
    "h": 103.2
  },
  "luminance": 0.20233
}

Semantic roles & 50–950 ramp

primary
#877E29
secondary
#5961B3
accent
#59DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #877E29

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

Preview Lab → · Contrast checker → · Palette generator →

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