#807816#807816

#807816 is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.3% C 0.112 H 104.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#807816
RGBrgb(128, 120, 22)
HSLhsl(55, 71%, 29%)
HSVhsv(55, 83%, 50%)
CMYKcmyk(0%, 6.3%, 82.8%, 49.8%)
CIE-LABlab(49.59, -8.02, 50.00)
CIE-LCHlch(49.59, 50.64, 99.11°)
OKLaboklab(56.27% -0.0279 0.1082)
OKLCHoklch(56.27% 0.112 104.5)
XYZxyz(15.7641, 18.0807, 3.4185)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807816 #161E80
analogous
#804316 #807816 #538016
triadic
#807816 #168078 #781680
tetradic
#807816 #168043 #161E80 #801653
square
#807816 #168043 #161E80 #801653
split-complementary
#807816 #165380 #431680
monochromatic
#1A1804 #4C470D #807816 #B4A91F #DCCF34

Accessibility & contrast

On white

4.55
#807816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#807816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #807816
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807816#FFFFFF#000000##000000
##8078161.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#86781E
Tritanopia (blue-blind)
#8A6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #807816;
/* rgb */ color: rgb(128, 120, 22);
/* oklch */ color: oklch(56.3% 0.112 104.5);
Tailwind
colors: {
  custom: {
    50: '#a89e5e',
    500: '#807816',
    950: '#000000',
  },
}
SCSS
$custom: #807816;
$custom-light: #a89e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#807816",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 55.472,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.11174,
    "h": 104.5
  },
  "luminance": 0.1808
}

Semantic roles & 50–950 ramp

primary
#807816
secondary
#3D46B5
accent
#48ED3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807816

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

Preview Lab → · Contrast checker → · Palette generator →

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