#807717#807717

#807717 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.110 H 103.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#807717
RGBrgb(128, 119, 23)
HSLhsl(55, 70%, 30%)
HSVhsv(55, 82%, 50%)
CMYKcmyk(0%, 7%, 82%, 49.8%)
CIE-LABlab(49.31, -7.43, 49.43)
CIE-LCHlch(49.31, 49.99, 98.54°)
OKLaboklab(56.05% -0.0261 0.1072)
OKLCHoklch(56.05% 0.11 103.7)
XYZxyz(15.6543, 17.8454, 3.4304)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807717 #172080
analogous
#804317 #807717 #558017
triadic
#807717 #178077 #771780
tetradic
#807717 #178043 #172080 #801755
square
#807717 #178043 #172080 #801755
split-complementary
#807717 #175580 #431780
monochromatic
#1A1805 #4C470E #807717 #B4A720 #DBCD36

Accessibility & contrast

On white

4.60
#807717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#807717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #807717
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807717#FFFFFF#000000##FFFFFF
##8077171.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#8A6E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #807717;
/* rgb */ color: rgb(128, 119, 23);
/* oklch */ color: oklch(56.0% 0.110 103.7);
Tailwind
colors: {
  custom: {
    50: '#a89d5e',
    500: '#807717',
    950: '#000000',
  },
}
SCSS
$custom: #807717;
$custom-light: #a89d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#807717",
  "rgb": {
    "r": 128,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 54.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56047,
    "c": 0.11033,
    "h": 103.7
  },
  "luminance": 0.17845
}

Semantic roles & 50–950 ramp

primary
#807717
secondary
#3E48B4
accent
#4BEC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807717

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

Preview Lab → · Contrast checker → · Palette generator →

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