#807221#807221

#807221 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 55.0% C 0.100 H 99.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#807221
RGBrgb(128, 114, 33)
HSLhsl(51, 59%, 32%)
HSVhsv(51, 74%, 50%)
CMYKcmyk(0%, 10.9%, 74.2%, 49.8%)
CIE-LABlab(47.92, -4.17, 44.47)
CIE-LCHlch(47.92, 44.66, 95.36°)
OKLaboklab(54.97% -0.0159 0.0987)
OKLCHoklch(54.97% 0.1 99.2)
XYZxyz(15.1946, 16.7344, 3.8683)
Luminance0.1673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807221 #212F80
analogous
#804321 #807221 #5F8021
triadic
#807221 #218072 #722180
tetradic
#807221 #218043 #212F80 #80215F
square
#807221 #218043 #212F80 #80215F
split-complementary
#807221 #215F80 #432180
monochromatic
#1F1B08 #4F4714 #807221 #B19D2E #D1BD4B

Accessibility & contrast

On white

4.83
#807221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#807221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807221
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807221#FFFFFF#000000##FFFFFF
##8072211.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #807221;
/* rgb */ color: rgb(128, 114, 33);
/* oklch */ color: oklch(55.0% 0.100 99.2);
Tailwind
colors: {
  custom: {
    50: '#a89a62',
    500: '#807221',
    950: '#000000',
  },
}
SCSS
$custom: #807221;
$custom-light: #a89a62;
$custom-dark: #000000;
JSON
{
  "hex": "#807221",
  "rgb": {
    "r": 128,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 51.158,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54966,
    "c": 0.09994,
    "h": 99.2
  },
  "luminance": 0.16734
}

Semantic roles & 50–950 ramp

primary
#807221
secondary
#4A5AB3
accent
#5DE246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #807221

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

Preview Lab → · Contrast checker → · Palette generator →

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