#817716#817716

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

Color values

HEX#817716
RGBrgb(129, 119, 22)
HSLhsl(54, 71%, 30%)
HSVhsv(54, 83%, 51%)
CMYKcmyk(0%, 7.8%, 82.9%, 49.4%)
CIE-LABlab(49.40, -6.99, 49.86)
CIE-LCHlch(49.40, 50.35, 97.98°)
OKLaboklab(56.14% -0.0251 0.1079)
OKLCHoklch(56.14% 0.111 103.1)
XYZxyz(15.7957, 17.9194, 3.3857)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817716 #162081
analogous
#814216 #817716 #558116
triadic
#817716 #168177 #771681
tetradic
#817716 #168142 #162081 #811655
square
#817716 #168142 #162081 #811655
split-complementary
#817716 #165581 #421681
monochromatic
#1A1804 #4D470D #817716 #B5A71F #DDCD35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817716#FFFFFF#000000##000000
##8177161.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)
#86771E
Tritanopia (blue-blind)
#8B6E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #817716;
/* rgb */ color: rgb(129, 119, 22);
/* oklch */ color: oklch(56.1% 0.111 103.1);
Tailwind
colors: {
  custom: {
    50: '#a99d5d',
    500: '#817716',
    950: '#000000',
  },
}
SCSS
$custom: #817716;
$custom-light: #a99d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817716",
  "rgb": {
    "r": 129,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 54.393,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.11074,
    "h": 103.1
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#817716
secondary
#3D48B6
accent
#4BEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817716

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

Preview Lab → · Contrast checker → · Palette generator →

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