#867221#867221

#867221 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.6% C 0.100 H 94.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#867221
RGBrgb(134, 114, 33)
HSLhsl(48, 60%, 33%)
HSVhsv(48, 75%, 53%)
CMYKcmyk(0%, 14.9%, 75.4%, 47.5%)
CIE-LABlab(48.53, -1.35, 45.26)
CIE-LCHlch(48.53, 45.28, 91.71°)
OKLaboklab(55.59% -0.0083 0.1001)
OKLCHoklch(55.59% 0.1 94.7)
XYZxyz(16.1242, 17.2137, 3.9118)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#867221 #213586
analogous
#864021 #867221 #678621
triadic
#867221 #218672 #722186
tetradic
#867221 #218640 #213586 #862167
square
#867221 #218640 #213586 #862167
split-complementary
#867221 #216786 #402186
monochromatic
#241E09 #554815 #867221 #B79C2D #D3B94E

Accessibility & contrast

On white

4.73
#867221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#867221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #867221
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##867221#FFFFFF#000000##FFFFFF
##8672211.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7014
Deuteranopia (green-blind)
#847626
Tritanopia (blue-blind)
#916962
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #867221;
/* rgb */ color: rgb(134, 114, 33);
/* oklch */ color: oklch(55.6% 0.100 94.7);
Tailwind
colors: {
  custom: {
    50: '#ad9a62',
    500: '#867221',
    950: '#000000',
  },
}
SCSS
$custom: #867221;
$custom-light: #ad9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#867221",
  "rgb": {
    "r": 134,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 48.119,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55587,
    "c": 0.10044,
    "h": 94.7
  },
  "luminance": 0.17213
}

Semantic roles & 50–950 ramp

primary
#867221
secondary
#4C61B7
accent
#64E444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #867221

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

Preview Lab → · Contrast checker → · Palette generator →

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