#837221#837221

#837221 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.100 H 96.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#837221
RGBrgb(131, 114, 33)
HSLhsl(50, 60%, 32%)
HSVhsv(50, 75%, 51%)
CMYKcmyk(0%, 13%, 74.8%, 48.6%)
CIE-LABlab(48.22, -2.76, 44.86)
CIE-LCHlch(48.22, 44.94, 93.52°)
OKLaboklab(55.27% -0.0121 0.0994)
OKLCHoklch(55.27% 0.1 96.9)
XYZxyz(15.6527, 16.9705, 3.8897)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#837221 #213283
analogous
#834121 #837221 #638321
triadic
#837221 #218372 #722183
tetradic
#837221 #218341 #213283 #832163
square
#837221 #218341 #213283 #832163
split-complementary
#837221 #216383 #412183
monochromatic
#211D08 #524715 #837221 #B49D2D #D2BB4C

Accessibility & contrast

On white

4.78
#837221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#837221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #837221
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##837221#FFFFFF#000000##FFFFFF
##8372211.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F14
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#8E6962
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #837221;
/* rgb */ color: rgb(131, 114, 33);
/* oklch */ color: oklch(55.3% 0.100 96.9);
Tailwind
colors: {
  custom: {
    50: '#aa9a62',
    500: '#837221',
    950: '#000000',
  },
}
SCSS
$custom: #837221;
$custom-light: #aa9a62;
$custom-dark: #000000;
JSON
{
  "hex": "#837221",
  "rgb": {
    "r": 131,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 49.592,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.10011,
    "h": 96.9
  },
  "luminance": 0.1697
}

Semantic roles & 50–950 ramp

primary
#837221
secondary
#4B5DB5
accent
#60E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #837221

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

Preview Lab → · Contrast checker → · Palette generator →

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