#817617#817617

#817617 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.9% C 0.109 H 102.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#817617
RGBrgb(129, 118, 23)
HSLhsl(54, 70%, 30%)
HSVhsv(54, 82%, 51%)
CMYKcmyk(0%, 8.5%, 82.2%, 49.4%)
CIE-LABlab(49.11, -6.40, 49.30)
CIE-LCHlch(49.11, 49.71, 97.39°)
OKLaboklab(55.92% -0.0233 0.1068)
OKLCHoklch(55.92% 0.109 102.3)
XYZxyz(15.6871, 17.6866, 3.3980)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817617 #172281
analogous
#814117 #817617 #578117
triadic
#817617 #178176 #761781
tetradic
#817617 #178141 #172281 #811757
square
#817617 #178141 #172281 #811757
split-complementary
#817617 #175781 #411781
monochromatic
#1A1805 #4D460E #817617 #B5A620 #DBCA37

Accessibility & contrast

On white

4.63
#817617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#817617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #817617
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817617#FFFFFF#000000##FFFFFF
##8176171.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#8B6D65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #817617;
/* rgb */ color: rgb(129, 118, 23);
/* oklch */ color: oklch(55.9% 0.109 102.3);
Tailwind
colors: {
  custom: {
    50: '#a99d5e',
    500: '#817617',
    950: '#000000',
  },
}
SCSS
$custom: #817617;
$custom-light: #a99d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#817617",
  "rgb": {
    "r": 129,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 53.774,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.10935,
    "h": 102.3
  },
  "luminance": 0.17686
}

Semantic roles & 50–950 ramp

primary
#817617
secondary
#3E4BB5
accent
#4EED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817617

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

Preview Lab → · Contrast checker → · Palette generator →

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