#877229#877229

#877229 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.8% C 0.095 H 92.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#877229
RGBrgb(135, 114, 41)
HSLhsl(47, 53%, 35%)
HSVhsv(47, 70%, 53%)
CMYKcmyk(0%, 15.6%, 69.6%, 47.1%)
CIE-LABlab(48.69, -0.44, 41.98)
CIE-LCHlch(48.69, 41.98, 90.60°)
OKLaboklab(55.76% -0.0047 0.0947)
OKLCHoklch(55.76% 0.095 92.9)
XYZxyz(16.4101, 17.3465, 4.5813)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877229 #293E87
analogous
#874329 #877229 #6D8729
triadic
#877229 #298772 #722987
tetradic
#877229 #298743 #293E87 #87296D
square
#877229 #298743 #293E87 #87296D
split-complementary
#877229 #296D87 #432987
monochromatic
#29230C #584A1B #877229 #B69A37 #CEB45D

Accessibility & contrast

On white

4.70
#877229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#877229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877229
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877229#FFFFFF#000000##FFFFFF
##8772291.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7020
Deuteranopia (green-blind)
#83762D
Tritanopia (blue-blind)
#926963
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #877229;
/* rgb */ color: rgb(135, 114, 41);
/* oklch */ color: oklch(55.8% 0.095 92.9);
Tailwind
colors: {
  custom: {
    50: '#ad9a67',
    500: '#877229',
    950: '#000000',
  },
}
SCSS
$custom: #877229;
$custom-light: #ad9a67;
$custom-dark: #000000;
JSON
{
  "hex": "#877229",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 46.596,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.55762,
    "c": 0.09477,
    "h": 92.9
  },
  "luminance": 0.17346
}

Semantic roles & 50–950 ramp

primary
#877229
secondary
#596DB3
accent
#6CDD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877229

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

Preview Lab → · Contrast checker → · Palette generator →

#877229 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva