#817C49#817C49

#817C49 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.8% C 0.071 H 103.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#817C49
RGBrgb(129, 124, 73)
HSLhsl(55, 28%, 40%)
HSVhsv(55, 43%, 51%)
CMYKcmyk(0%, 3.9%, 43.4%, 49.4%)
CIE-LABlab(51.34, -6.01, 28.48)
CIE-LCHlch(51.34, 29.10, 101.91°)
OKLaboklab(57.84% -0.0166 0.0691)
OKLCHoklch(57.84% 0.071 103.5)
XYZxyz(17.4639, 19.5639, 9.1583)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817C49 #494E81
analogous
#816049 #817C49 #6A8149
triadic
#817C49 #49817C #7C4981
tetradic
#817C49 #498160 #494E81 #81496A
square
#817C49 #498160 #494E81 #81496A
split-complementary
#817C49 #496A81 #604981
monochromatic
#33311D #5A5633 #817C49 #A6A061 #BCB788

Accessibility & contrast

On white

4.27
#817C49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#817C49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817C49
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817C49#FFFFFF#000000##000000
##817C491.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#847945
Deuteranopia (green-blind)
#867C4B
Tritanopia (blue-blind)
#897670
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #817c49;
/* rgb */ color: rgb(129, 124, 73);
/* oklch */ color: oklch(57.8% 0.071 103.5);
Tailwind
colors: {
  custom: {
    50: '#a7a17c',
    500: '#817c49',
    950: '#000000',
  },
}
SCSS
$custom: #817c49;
$custom-light: #a7a17c;
$custom-dark: #000000;
JSON
{
  "hex": "#817c49",
  "rgb": {
    "r": 129,
    "g": 124,
    "b": 73
  },
  "hsl": {
    "h": 54.643,
    "s": 27.723,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57843,
    "c": 0.07105,
    "h": 103.5
  },
  "luminance": 0.19563
}

Semantic roles & 50–950 ramp

primary
#817C49
secondary
#7E82A8
accent
#6CC464
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0F09
muted
#7F7E7B

Preview Lab

Preview with #817C49

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

Preview Lab → · Contrast checker → · Palette generator →

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