#817517#817517

#817517 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.108 H 101.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#817517
RGBrgb(129, 117, 23)
HSLhsl(53, 70%, 30%)
HSVhsv(53, 82%, 51%)
CMYKcmyk(0%, 9.3%, 82.2%, 49.4%)
CIE-LABlab(48.83, -5.84, 49.04)
CIE-LCHlch(48.83, 49.39, 96.79°)
OKLaboklab(55.68% -0.0217 0.1063)
OKLCHoklch(55.68% 0.108 101.6)
XYZxyz(15.5700, 17.4523, 3.3589)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817517 #172381
analogous
#814017 #817517 #588117
triadic
#817517 #178175 #751781
tetradic
#817517 #178140 #172381 #811758
square
#817517 #178140 #172381 #811758
split-complementary
#817517 #175881 #401781
monochromatic
#1A1805 #4D460E #817517 #B5A420 #DBC937

Accessibility & contrast

On white

4.68
#817517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#817517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817517
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817517#FFFFFF#000000##FFFFFF
##8175171.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#8C6C64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #817517;
/* rgb */ color: rgb(129, 117, 23);
/* oklch */ color: oklch(55.7% 0.108 101.6);
Tailwind
colors: {
  custom: {
    50: '#a99c5e',
    500: '#817517',
    950: '#000000',
  },
}
SCSS
$custom: #817517;
$custom-light: #a99c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817517",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 53.208,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55685,
    "c": 0.10849,
    "h": 101.6
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#817517
secondary
#3E4CB5
accent
#4FED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817517

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

Preview Lab → · Contrast checker → · Palette generator →

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