#817A49#817A49

#817A49 is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.069 H 101.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#817A49
RGBrgb(129, 122, 73)
HSLhsl(53, 28%, 40%)
HSVhsv(53, 43%, 51%)
CMYKcmyk(0%, 5.4%, 43.4%, 49.4%)
CIE-LABlab(50.77, -4.89, 27.75)
CIE-LCHlch(50.77, 28.18, 99.99°)
OKLaboklab(57.39% -0.0133 0.0675)
OKLCHoklch(57.39% 0.069 101.2)
XYZxyz(17.2157, 19.0677, 9.0756)
Luminance0.1907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817A49 #495081
analogous
#815E49 #817A49 #6C8149
triadic
#817A49 #49817A #7A4981
tetradic
#817A49 #49815E #495081 #81496C
square
#817A49 #49815E #495081 #81496C
split-complementary
#817A49 #496C81 #5E4981
monochromatic
#33301D #5A5533 #817A49 #A69D61 #BCB588

Accessibility & contrast

On white

4.36
#817A49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#817A49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817A49
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817A49#FFFFFF#000000##000000
##817A491.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827745
Deuteranopia (green-blind)
#857A4B
Tritanopia (blue-blind)
#89746E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #817a49;
/* rgb */ color: rgb(129, 122, 73);
/* oklch */ color: oklch(57.4% 0.069 101.2);
Tailwind
colors: {
  custom: {
    50: '#a7a07c',
    500: '#817a49',
    950: '#000000',
  },
}
SCSS
$custom: #817a49;
$custom-light: #a7a07c;
$custom-dark: #000000;
JSON
{
  "hex": "#817a49",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 73
  },
  "hsl": {
    "h": 52.5,
    "s": 27.723,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57388,
    "c": 0.06876,
    "h": 101.2
  },
  "luminance": 0.19067
}

Semantic roles & 50–950 ramp

primary
#817A49
secondary
#7E83A8
accent
#70C464
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #817A49

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

Preview Lab → · Contrast checker → · Palette generator →

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