#807417#807417

#807417 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.4% C 0.108 H 101.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#807417
RGBrgb(128, 116, 23)
HSLhsl(53, 70%, 30%)
HSVhsv(53, 82%, 50%)
CMYKcmyk(0%, 9.4%, 82%, 49.8%)
CIE-LABlab(48.44, -5.75, 48.66)
CIE-LCHlch(48.44, 49.00, 96.74°)
OKLaboklab(55.36% -0.0214 0.1055)
OKLCHoklch(55.36% 0.108 101.5)
XYZxyz(15.3029, 17.1426, 3.3132)
Luminance0.1714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#807417 #172380
analogous
#804017 #807417 #588017
triadic
#807417 #178074 #741780
tetradic
#807417 #178040 #172380 #801758
square
#807417 #178040 #172380 #801758
split-complementary
#807417 #175880 #401780
monochromatic
#1A1805 #4C450E #807417 #B4A320 #DBC836

Accessibility & contrast

On white

4.74
#807417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#807417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #807417
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##807417#FFFFFF#000000##FFFFFF
##8074171.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#8A6B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #807417;
/* rgb */ color: rgb(128, 116, 23);
/* oklch */ color: oklch(55.4% 0.108 101.5);
Tailwind
colors: {
  custom: {
    50: '#a89b5d',
    500: '#807417',
    950: '#000000',
  },
}
SCSS
$custom: #807417;
$custom-light: #a89b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#807417",
  "rgb": {
    "r": 128,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 53.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55356,
    "c": 0.10768,
    "h": 101.5
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#807417
secondary
#3E4CB4
accent
#50EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #807417

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

Preview Lab → · Contrast checker → · Palette generator →

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