#817A4E#817A4E

#817A4E is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.5% C 0.063 H 100.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#817A4E
RGBrgb(129, 122, 78)
HSLhsl(52, 25%, 41%)
HSVhsv(52, 40%, 51%)
CMYKcmyk(0%, 5.4%, 39.5%, 49.4%)
CIE-LABlab(50.85, -4.29, 25.07)
CIE-LCHlch(50.85, 25.43, 99.72°)
OKLaboklab(57.48% -0.0112 0.0616)
OKLCHoklch(57.48% 0.063 100.3)
XYZxyz(17.3882, 19.1367, 9.9840)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817A4E #4E5581
analogous
#81604E #817A4E #6E814E
triadic
#817A4E #4E817A #7A4E81
tetradic
#817A4E #4E8160 #4E5581 #814E6E
square
#817A4E #4E8160 #4E5581 #814E6E
split-complementary
#817A4E #4E6E81 #604E81
monochromatic
#353220 #5B5637 #817A4E #A49C68 #BBB58E

Accessibility & contrast

On white

4.35
#817A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#817A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817A4E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817A4E#FFFFFF#000000##000000
##817A4E1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82774B
Deuteranopia (green-blind)
#847A50
Tritanopia (blue-blind)
#88746F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817a4e;
/* rgb */ color: rgb(129, 122, 78);
/* oklch */ color: oklch(57.5% 0.063 100.3);
Tailwind
colors: {
  custom: {
    50: '#a6a080',
    500: '#817a4e',
    950: '#000000',
  },
}
SCSS
$custom: #817a4e;
$custom-light: #a6a080;
$custom-dark: #000000;
JSON
{
  "hex": "#817a4e",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 51.765,
    "s": 24.638,
    "l": 40.588
  },
  "oklch": {
    "l": 0.57478,
    "c": 0.06259,
    "h": 100.3
  },
  "luminance": 0.19136
}

Semantic roles & 50–950 ramp

primary
#817A4E
secondary
#8388A8
accent
#73C167
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E0A
muted
#7F7E7C

Preview Lab

Preview with #817A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#817A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva