#807217#807217

#807217 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.9% C 0.106 H 99.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#807217
RGBrgb(128, 114, 23)
HSLhsl(52, 70%, 30%)
HSVhsv(52, 82%, 50%)
CMYKcmyk(0%, 10.9%, 82%, 49.8%)
CIE-LABlab(47.86, -4.62, 48.15)
CIE-LCHlch(47.86, 48.37, 95.48°)
OKLaboklab(54.9% -0.0183 0.1044)
OKLCHoklch(54.9% 0.106 99.9)
XYZxyz(15.0748, 16.6864, 3.2372)
Luminance0.1669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807217 #172580
analogous
#803E17 #807217 #5A8017
triadic
#807217 #178072 #721780
tetradic
#807217 #17803E #172580 #80175A
square
#807217 #17803E #172580 #80175A
split-complementary
#807217 #175A80 #3E1780
monochromatic
#1A1705 #4C440E #807217 #B4A020 #DBC536

Accessibility & contrast

On white

4.84
#807217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#807217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807217
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807217#FFFFFF#000000##FFFFFF
##8072171.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#8B6961
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #807217;
/* rgb */ color: rgb(128, 114, 23);
/* oklch */ color: oklch(54.9% 0.106 99.9);
Tailwind
colors: {
  custom: {
    50: '#a89a5d',
    500: '#807217',
    950: '#000000',
  },
}
SCSS
$custom: #807217;
$custom-light: #a89a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#807217",
  "rgb": {
    "r": 128,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 52,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54898,
    "c": 0.106,
    "h": 99.9
  },
  "luminance": 0.16686
}

Semantic roles & 50–950 ramp

primary
#807217
secondary
#3E4EB4
accent
#53EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807217

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

Preview Lab → · Contrast checker → · Palette generator →

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