#807216#807216

#807216 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.107 H 100.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#807216
RGBrgb(128, 114, 22)
HSLhsl(52, 71%, 29%)
HSVhsv(52, 83%, 50%)
CMYKcmyk(0%, 10.9%, 82.8%, 49.8%)
CIE-LABlab(47.86, -4.66, 48.47)
CIE-LCHlch(47.86, 48.70, 95.49°)
OKLaboklab(54.89% -0.0185 0.1049)
OKLCHoklch(54.89% 0.107 100)
XYZxyz(15.0650, 16.6825, 3.1854)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807216 #162480
analogous
#803D16 #807216 #598016
triadic
#807216 #168072 #721680
tetradic
#807216 #16803D #162480 #801659
square
#807216 #16803D #162480 #801659
split-complementary
#807216 #165980 #3D1680
monochromatic
#1A1704 #4C430D #807216 #B4A11F #DCC634

Accessibility & contrast

On white

4.84
#807216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#807216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807216
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807216#FFFFFF#000000##FFFFFF
##8072161.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#8B6961
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #807216;
/* rgb */ color: rgb(128, 114, 22);
/* oklch */ color: oklch(54.9% 0.107 100.0);
Tailwind
colors: {
  custom: {
    50: '#a99a5d',
    500: '#807216',
    950: '#000000',
  },
}
SCSS
$custom: #807216;
$custom-light: #a99a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#807216",
  "rgb": {
    "r": 128,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 52.075,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.10652,
    "h": 100
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#807216
secondary
#3D4DB5
accent
#52ED3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807216

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

Preview Lab → · Contrast checker → · Palette generator →

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