#807017#807017

#807017 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.4% C 0.104 H 98.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#807017
RGBrgb(128, 112, 23)
HSLhsl(51, 70%, 30%)
HSVhsv(51, 82%, 50%)
CMYKcmyk(0%, 12.5%, 82%, 49.8%)
CIE-LABlab(47.29, -3.49, 47.64)
CIE-LCHlch(47.29, 47.76, 94.18°)
OKLaboklab(54.44% -0.0151 0.1033)
OKLCHoklch(54.44% 0.104 98.3)
XYZxyz(14.8517, 16.2402, 3.1628)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807017 #172780
analogous
#803C17 #807017 #5C8017
triadic
#807017 #178070 #701780
tetradic
#807017 #17803C #172780 #80175C
square
#807017 #17803C #172780 #80175C
split-complementary
#807017 #175C80 #3C1780
monochromatic
#1A1705 #4C430E #807017 #B49D20 #DBC236

Accessibility & contrast

On white

4.94
#807017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#807017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807017
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807017#FFFFFF#000000##FFFFFF
##8070171.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#8B675F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #807017;
/* rgb */ color: rgb(128, 112, 23);
/* oklch */ color: oklch(54.4% 0.104 98.3);
Tailwind
colors: {
  custom: {
    50: '#a9985d',
    500: '#807017',
    950: '#000000',
  },
}
SCSS
$custom: #807017;
$custom-light: #a9985d;
$custom-dark: #000000;
JSON
{
  "hex": "#807017",
  "rgb": {
    "r": 128,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 50.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.10441,
    "h": 98.3
  },
  "luminance": 0.16239
}

Semantic roles & 50–950 ramp

primary
#807017
secondary
#3E50B4
accent
#56EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #807017

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

Preview Lab → · Contrast checker → · Palette generator →

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