#817516#817516

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

Color values

HEX#817516
RGBrgb(129, 117, 22)
HSLhsl(53, 71%, 30%)
HSVhsv(53, 83%, 51%)
CMYKcmyk(0%, 9.3%, 82.9%, 49.4%)
CIE-LABlab(48.82, -5.87, 49.36)
CIE-LCHlch(48.82, 49.71, 96.79°)
OKLaboklab(55.68% -0.0219 0.1068)
OKLCHoklch(55.68% 0.109 101.6)
XYZxyz(15.5601, 17.4484, 3.3072)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817516 #162281
analogous
#814016 #817516 #588116
triadic
#817516 #168175 #751681
tetradic
#817516 #168140 #162281 #811658
square
#817516 #168140 #162281 #811658
split-complementary
#817516 #165881 #401681
monochromatic
#1A1804 #4D460D #817516 #B5A41F #DDCA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817516#FFFFFF#000000##FFFFFF
##8175161.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)
#84761E
Tritanopia (blue-blind)
#8C6C64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #817516;
/* rgb */ color: rgb(129, 117, 22);
/* oklch */ color: oklch(55.7% 0.109 101.6);
Tailwind
colors: {
  custom: {
    50: '#a99c5d',
    500: '#817516',
    950: '#000000',
  },
}
SCSS
$custom: #817516;
$custom-light: #a99c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817516",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 53.271,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5568,
    "c": 0.10899,
    "h": 101.6
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#817516
secondary
#3D4BB6
accent
#4EEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817516

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

Preview Lab → · Contrast checker → · Palette generator →

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