#877F29#877F29

#877F29 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.7% C 0.106 H 104.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#877F29
RGBrgb(135, 127, 41)
HSLhsl(55, 53%, 35%)
HSVhsv(55, 70%, 53%)
CMYKcmyk(0%, 5.9%, 69.6%, 47.1%)
CIE-LABlab(52.39, -7.74, 45.79)
CIE-LCHlch(52.39, 46.44, 99.59°)
OKLaboklab(58.69% -0.0256 0.1027)
OKLCHoklch(58.69% 0.106 104)
XYZxyz(17.9820, 20.4904, 5.1052)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877F29 #293187
analogous
#875029 #877F29 #608729
triadic
#877F29 #29877F #7F2987
tetradic
#877F29 #298750 #293187 #872960
square
#877F29 #298750 #293187 #872960
split-complementary
#877F29 #296087 #502987
monochromatic
#29270C #58531B #877F29 #B6AB37 #CEC45D

Accessibility & contrast

On white

4.12
#877F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#877F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #877F29
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877F29#FFFFFF#000000##000000
##877F291.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1D
Deuteranopia (green-blind)
#8D7F2E
Tritanopia (blue-blind)
#91766E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #877f29;
/* rgb */ color: rgb(135, 127, 41);
/* oklch */ color: oklch(58.7% 0.106 104.0);
Tailwind
colors: {
  custom: {
    50: '#ada368',
    500: '#877f29',
    950: '#000000',
  },
}
SCSS
$custom: #877f29;
$custom-light: #ada368;
$custom-dark: #000000;
JSON
{
  "hex": "#877f29",
  "rgb": {
    "r": 135,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 54.894,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.10584,
    "h": 104
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

primary
#877F29
secondary
#5960B3
accent
#57DD4B
background
#FAFAF6
surface
#F5F3EB
border
#CFCDC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #877F29

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

Preview Lab → · Contrast checker → · Palette generator →

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