#817717#817717

#817717 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.1% C 0.110 H 103.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#817717
RGBrgb(129, 119, 23)
HSLhsl(54, 70%, 30%)
HSVhsv(54, 82%, 51%)
CMYKcmyk(0%, 7.8%, 82.2%, 49.4%)
CIE-LABlab(49.40, -6.96, 49.55)
CIE-LCHlch(49.40, 50.04, 97.99°)
OKLaboklab(56.15% -0.0249 0.1074)
OKLCHoklch(56.15% 0.11 103)
XYZxyz(15.8055, 17.9233, 3.4375)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817717 #172181
analogous
#814217 #817717 #568117
triadic
#817717 #178177 #771781
tetradic
#817717 #178142 #172181 #811756
square
#817717 #178142 #172181 #811756
split-complementary
#817717 #175681 #421781
monochromatic
#1A1805 #4D470E #817717 #B5A720 #DBCC37

Accessibility & contrast

On white

4.58
#817717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#817717 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817717
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817717#FFFFFF#000000##000000
##8177171.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#86771F
Tritanopia (blue-blind)
#8B6E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #817717;
/* rgb */ color: rgb(129, 119, 23);
/* oklch */ color: oklch(56.1% 0.110 103.0);
Tailwind
colors: {
  custom: {
    50: '#a99d5e',
    500: '#817717',
    950: '#000000',
  },
}
SCSS
$custom: #817717;
$custom-light: #a99d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817717",
  "rgb": {
    "r": 129,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 54.34,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.56145,
    "c": 0.11023,
    "h": 103
  },
  "luminance": 0.17923
}

Semantic roles & 50–950 ramp

primary
#817717
secondary
#3E4AB5
accent
#4CED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817717

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

Preview Lab → · Contrast checker → · Palette generator →

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