#817316#817316

#817316 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.107 H 100.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#817316
RGBrgb(129, 115, 22)
HSLhsl(52, 71%, 30%)
HSVhsv(52, 83%, 51%)
CMYKcmyk(0%, 10.9%, 82.9%, 49.4%)
CIE-LABlab(48.24, -4.75, 48.85)
CIE-LCHlch(48.24, 49.08, 95.55°)
OKLaboklab(55.22% -0.0188 0.1057)
OKLCHoklch(55.22% 0.107 100.1)
XYZxyz(15.3296, 16.9873, 3.2303)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817316 #162481
analogous
#813E16 #817316 #598116
triadic
#817316 #168173 #731681
tetradic
#817316 #16813E #162481 #811659
square
#817316 #16813E #162481 #811659
split-complementary
#817316 #165981 #3E1681
monochromatic
#1A1704 #4D440D #817316 #B5A21F #DDC735

Accessibility & contrast

On white

4.78
#817316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#817316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817316
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817316#FFFFFF#000000##FFFFFF
##8173161.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#83751D
Tritanopia (blue-blind)
#8C6A62
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #817316;
/* rgb */ color: rgb(129, 115, 22);
/* oklch */ color: oklch(55.2% 0.107 100.1);
Tailwind
colors: {
  custom: {
    50: '#a99a5d',
    500: '#817316',
    950: '#000000',
  },
}
SCSS
$custom: #817316;
$custom-light: #a99a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#817316",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 52.15,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55223,
    "c": 0.10732,
    "h": 100.1
  },
  "luminance": 0.16987
}

Semantic roles & 50–950 ramp

primary
#817316
secondary
#3D4DB6
accent
#52EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #817316

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

Preview Lab → · Contrast checker → · Palette generator →

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