#817417#817417

#817417 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.5% C 0.108 H 100.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#817417
RGBrgb(129, 116, 23)
HSLhsl(53, 70%, 30%)
HSVhsv(53, 82%, 51%)
CMYKcmyk(0%, 10.1%, 82.2%, 49.4%)
CIE-LABlab(48.54, -5.27, 48.79)
CIE-LCHlch(48.54, 49.07, 96.17°)
OKLaboklab(55.46% -0.0202 0.1057)
OKLCHoklch(55.46% 0.108 100.8)
XYZxyz(15.4541, 17.2205, 3.3203)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817417 #172481
analogous
#813F17 #817417 #598117
triadic
#817417 #178174 #741781
tetradic
#817417 #17813F #172481 #811759
square
#817417 #17813F #172481 #811759
split-complementary
#817417 #175981 #3F1781
monochromatic
#1A1705 #4D450E #817417 #B5A320 #DBC737

Accessibility & contrast

On white

4.73
#817417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#817417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817417
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817417#FFFFFF#000000##FFFFFF
##8174171.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #817417;
/* rgb */ color: rgb(129, 116, 23);
/* oklch */ color: oklch(55.5% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#a99b5d',
    500: '#817417',
    950: '#000000',
  },
}
SCSS
$custom: #817417;
$custom-light: #a99b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817417",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 52.642,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55456,
    "c": 0.10764,
    "h": 100.8
  },
  "luminance": 0.1722
}

Semantic roles & 50–950 ramp

primary
#817417
secondary
#3E4DB5
accent
#51ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817417

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

Preview Lab → · Contrast checker → · Palette generator →

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