#807817#807817

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

Color values

HEX#807817
RGBrgb(128, 120, 23)
HSLhsl(55, 70%, 30%)
HSVhsv(55, 82%, 50%)
CMYKcmyk(0%, 6.3%, 82%, 49.8%)
CIE-LABlab(49.60, -7.98, 49.69)
CIE-LCHlch(49.60, 50.33, 99.13°)
OKLaboklab(56.28% -0.0277 0.1077)
OKLCHoklch(56.28% 0.111 104.4)
XYZxyz(15.7739, 18.0847, 3.4702)
Luminance0.1808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807817 #171F80
analogous
#804417 #807817 #538017
triadic
#807817 #178078 #781780
tetradic
#807817 #178044 #171F80 #801753
square
#807817 #178044 #171F80 #801753
split-complementary
#807817 #175380 #441780
monochromatic
#1A1805 #4C470E #807817 #B4A920 #DBCE36

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##807817#FFFFFF#000000##000000
##8078171.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)
#837400
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#8A6F66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #807817;
/* rgb */ color: rgb(128, 120, 23);
/* oklch */ color: oklch(56.3% 0.111 104.4);
Tailwind
colors: {
  custom: {
    50: '#a89e5e',
    500: '#807817',
    950: '#000000',
  },
}
SCSS
$custom: #807817;
$custom-light: #a89e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#807817",
  "rgb": {
    "r": 128,
    "g": 120,
    "b": 23
  },
  "hsl": {
    "h": 55.429,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56278,
    "c": 0.11124,
    "h": 104.4
  },
  "luminance": 0.18084
}

Semantic roles & 50–950 ramp

primary
#807817
secondary
#3E47B4
accent
#49EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807817

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

Preview Lab → · Contrast checker → · Palette generator →

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