#807815#807815

#807815 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#807815
RGBrgb(128, 120, 21)
HSLhsl(56, 72%, 29%)
HSVhsv(56, 84%, 50%)
CMYKcmyk(0%, 6.3%, 83.6%, 49.8%)
CIE-LABlab(49.59, -8.05, 50.30)
CIE-LCHlch(49.59, 50.94, 99.10°)
OKLaboklab(56.27% -0.0281 0.1086)
OKLCHoklch(56.27% 0.112 104.5)
XYZxyz(15.7546, 18.0769, 3.3687)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807815 #151D80
analogous
#804315 #807815 #538015
triadic
#807815 #158078 #781580
tetradic
#807815 #158043 #151D80 #801553
square
#807815 #158043 #151D80 #801553
split-complementary
#807815 #155380 #431580
monochromatic
#1A1904 #4B470C #807815 #B5A91E #DDD132

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807815#FFFFFF#000000##000000
##8078151.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: #807815;
/* rgb */ color: rgb(128, 120, 21);
/* oklch */ color: oklch(56.3% 0.112 104.5);
Tailwind
colors: {
  custom: {
    50: '#a89e5d',
    500: '#807815',
    950: '#000000',
  },
}
SCSS
$custom: #807815;
$custom-light: #a89e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#807815",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 21
  },
  "hsl": {
    "h": 55.514,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.56267,
    "c": 0.11221,
    "h": 104.5
  },
  "luminance": 0.18076
}

Semantic roles & 50–950 ramp

primary
#807815
secondary
#3C45B5
accent
#47EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807815

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

Preview Lab → · Contrast checker → · Palette generator →

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