#817416#817416

#817416 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.5% C 0.108 H 100.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#817416
RGBrgb(129, 116, 22)
HSLhsl(53, 71%, 30%)
HSVhsv(53, 83%, 51%)
CMYKcmyk(0%, 10.1%, 82.9%, 49.4%)
CIE-LABlab(48.53, -5.31, 49.10)
CIE-LCHlch(48.53, 49.39, 96.17°)
OKLaboklab(55.45% -0.0203 0.1062)
OKLCHoklch(55.45% 0.108 100.8)
XYZxyz(15.4442, 17.2166, 3.2685)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817416 #162381
analogous
#813E16 #817416 #598116
triadic
#817416 #168174 #741681
tetradic
#817416 #16813E #162381 #811659
square
#817416 #16813E #162381 #811659
split-complementary
#817416 #165981 #3E1681
monochromatic
#1A1804 #4D450D #817416 #B5A31F #DDC835

Accessibility & contrast

On white

4.73
#817416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#817416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817416
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817416#FFFFFF#000000##FFFFFF
##8174161.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#84751E
Tritanopia (blue-blind)
#8C6B63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #817416;
/* rgb */ color: rgb(129, 116, 22);
/* oklch */ color: oklch(55.5% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#a99b5d',
    500: '#817416',
    950: '#000000',
  },
}
SCSS
$custom: #817416;
$custom-light: #a99b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817416",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 52.71,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55451,
    "c": 0.10815,
    "h": 100.8
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#817416
secondary
#3D4CB6
accent
#50EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817416

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

Preview Lab → · Contrast checker → · Palette generator →

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