#816717#816717

#816717 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.5% C 0.099 H 89.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#816717
RGBrgb(129, 103, 23)
HSLhsl(45, 70%, 30%)
HSVhsv(45, 82%, 51%)
CMYKcmyk(0%, 20.2%, 82.2%, 49.4%)
CIE-LABlab(44.84, 2.17, 45.48)
CIE-LCHlch(44.84, 45.54, 87.27°)
OKLaboklab(52.54% 0.0009 0.0986)
OKLCHoklch(52.54% 0.099 89.5)
XYZxyz(14.0590, 14.4304, 2.8553)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#816717 #173181
analogous
#813217 #816717 #668117
triadic
#816717 #178167 #671781
tetradic
#816717 #178132 #173181 #811766
square
#816717 #178132 #173181 #811766
split-complementary
#816717 #176681 #321781
monochromatic
#1A1505 #4D3E0E #816717 #B59020 #DBB337

Accessibility & contrast

On white

5.40
#816717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#816717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #816717
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##816717#FFFFFF#000000##FFFFFF
##8167171.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746605
Deuteranopia (green-blind)
#7A6D1C
Tritanopia (blue-blind)
#8C5D58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #816717;
/* rgb */ color: rgb(129, 103, 23);
/* oklch */ color: oklch(52.5% 0.099 89.5);
Tailwind
colors: {
  custom: {
    50: '#aa925c',
    500: '#816717',
    950: '#000000',
  },
}
SCSS
$custom: #816717;
$custom-light: #aa925c;
$custom-dark: #000000;
JSON
{
  "hex": "#816717",
  "rgb": {
    "r": 129,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 45.283,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.09863,
    "h": 89.5
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#816717
secondary
#3E5CB5
accent
#67ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #816717

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

Preview Lab → · Contrast checker → · Palette generator →

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