#876E21#876E21

#876E21 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.8% C 0.098 H 90.3°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#876E21
RGBrgb(135, 110, 33)
HSLhsl(45, 61%, 33%)
HSVhsv(45, 76%, 53%)
CMYKcmyk(0%, 18.5%, 75.6%, 47.1%)
CIE-LABlab(47.51, 1.41, 44.30)
CIE-LCHlch(47.51, 44.33, 88.18°)
OKLaboklab(54.81% -0.0004 0.098)
OKLCHoklch(54.81% 0.098 90.3)
XYZxyz(15.8430, 16.4135, 3.7722)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876E21 #213A87
analogous
#873B21 #876E21 #6D8721
triadic
#876E21 #21876E #6E2187
tetradic
#876E21 #21873B #213A87 #87216D
square
#876E21 #21873B #213A87 #87216D
split-complementary
#876E21 #216D87 #3B2187
monochromatic
#251E09 #564615 #876E21 #B8962D #D4B34F

Accessibility & contrast

On white

4.90
#876E21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#876E21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876E21
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876E21#FFFFFF#000000##FFFFFF
##876E211.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D15
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#92645F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876e21;
/* rgb */ color: rgb(135, 110, 33);
/* oklch */ color: oklch(54.8% 0.098 90.3);
Tailwind
colors: {
  custom: {
    50: '#ae9762',
    500: '#876e21',
    950: '#000000',
  },
}
SCSS
$custom: #876e21;
$custom-light: #ae9762;
$custom-dark: #000000;
JSON
{
  "hex": "#876e21",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 33
  },
  "hsl": {
    "h": 45.294,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.09802,
    "h": 90.3
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#876E21
secondary
#4D67B7
accent
#6BE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #876E21

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

Preview Lab → · Contrast checker → · Palette generator →

#876E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva