#877226#877226

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

Color values

HEX#877226
RGBrgb(135, 114, 38)
HSLhsl(47, 56%, 34%)
HSVhsv(47, 72%, 53%)
CMYKcmyk(0%, 15.6%, 71.9%, 47.1%)
CIE-LABlab(48.67, -0.61, 43.31)
CIE-LCHlch(48.67, 43.31, 90.81°)
OKLaboklab(55.73% -0.0056 0.0969)
OKLCHoklch(55.73% 0.097 93.3)
XYZxyz(16.3597, 17.3264, 4.3160)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877226 #263B87
analogous
#874226 #877226 #6C8726
triadic
#877226 #268772 #722687
tetradic
#877226 #268742 #263B87 #87266C
square
#877226 #268742 #263B87 #87266C
split-complementary
#877226 #266C87 #422687
monochromatic
#27210B #574A19 #877226 #B79A33 #D0B658

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##877226#FFFFFF#000000##FFFFFF
##8772261.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)
#7E701C
Deuteranopia (green-blind)
#84762A
Tritanopia (blue-blind)
#926962
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #877226;
/* rgb */ color: rgb(135, 114, 38);
/* oklch */ color: oklch(55.7% 0.097 93.3);
Tailwind
colors: {
  custom: {
    50: '#ad9a65',
    500: '#877226',
    950: '#000000',
  },
}
SCSS
$custom: #877226;
$custom-light: #ad9a65;
$custom-dark: #000000;
JSON
{
  "hex": "#877226",
  "rgb": {
    "r": 135,
    "g": 114,
    "b": 38
  },
  "hsl": {
    "h": 47.01,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55734,
    "c": 0.09706,
    "h": 93.3
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#877226
secondary
#5469B5
accent
#69DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #877226

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

Preview Lab → · Contrast checker → · Palette generator →

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