#847221#847221

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

Color values

HEX#847221
RGBrgb(132, 114, 33)
HSLhsl(49, 60%, 32%)
HSVhsv(49, 75%, 52%)
CMYKcmyk(0%, 13.6%, 75%, 48.2%)
CIE-LABlab(48.32, -2.29, 44.99)
CIE-LCHlch(48.32, 45.05, 92.91°)
OKLaboklab(55.38% -0.0108 0.0996)
OKLCHoklch(55.38% 0.1 96.2)
XYZxyz(15.8084, 17.0508, 3.8970)
Luminance0.1705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#847221 #213384
analogous
#844121 #847221 #658421
triadic
#847221 #218472 #722184
tetradic
#847221 #218441 #213384 #842165
square
#847221 #218441 #213384 #842165
split-complementary
#847221 #216584 #412184
monochromatic
#221D09 #534815 #847221 #B59C2D #D2BA4D

Accessibility & contrast

On white

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

On black

4.41
#847221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##847221#FFFFFF#000000##FFFFFF
##8472211.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F14
Deuteranopia (green-blind)
#837526
Tritanopia (blue-blind)
#8F6962
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #847221;
/* rgb */ color: rgb(132, 114, 33);
/* oklch */ color: oklch(55.4% 0.100 96.2);
Tailwind
colors: {
  custom: {
    50: '#ab9a62',
    500: '#847221',
    950: '#000000',
  },
}
SCSS
$custom: #847221;
$custom-light: #ab9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#847221",
  "rgb": {
    "r": 132,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 49.091,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55377,
    "c": 0.1002,
    "h": 96.2
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#847221
secondary
#4B5FB6
accent
#61E345
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #847221

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

Preview Lab → · Contrast checker → · Palette generator →

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