#877122#877122

#877122 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.5% C 0.099 H 93.0°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#877122
RGBrgb(135, 113, 34)
HSLhsl(47, 60%, 33%)
HSVhsv(47, 75%, 53%)
CMYKcmyk(0%, 16.3%, 74.8%, 47.1%)
CIE-LABlab(48.36, -0.26, 44.72)
CIE-LCHlch(48.36, 44.72, 90.33°)
OKLaboklab(55.48% -0.0051 0.0991)
OKLCHoklch(55.48% 0.099 93)
XYZxyz(16.1864, 17.0776, 3.9568)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#877122 #223887
analogous
#873F22 #877122 #6A8722
triadic
#877122 #228771 #712287
tetradic
#877122 #22873F #223887 #87226A
square
#877122 #22873F #223887 #87226A
split-complementary
#877122 #226A87 #3F2287
monochromatic
#251F09 #564816 #877122 #B89A2E #D3B750

Accessibility & contrast

On white

4.76
#877122 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#877122 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #877122
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##877122#FFFFFF#000000##FFFFFF
##8771221.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F16
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#926861
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #877122;
/* rgb */ color: rgb(135, 113, 34);
/* oklch */ color: oklch(55.5% 0.099 93.0);
Tailwind
colors: {
  custom: {
    50: '#ad9963',
    500: '#877122',
    950: '#000000',
  },
}
SCSS
$custom: #877122;
$custom-light: #ad9963;
$custom-dark: #000000;
JSON
{
  "hex": "#877122",
  "rgb": {
    "r": 135,
    "g": 113,
    "b": 34
  },
  "hsl": {
    "h": 46.931,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55478,
    "c": 0.09923,
    "h": 93
  },
  "luminance": 0.17077
}

Semantic roles & 50–950 ramp

primary
#877122
secondary
#4E65B7
accent
#67E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #877122

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

Preview Lab → · Contrast checker → · Palette generator →

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