#817B49#817B49

#817B49 is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.070 H 102.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#817B49
RGBrgb(129, 123, 73)
HSLhsl(54, 28%, 40%)
HSVhsv(54, 43%, 51%)
CMYKcmyk(0%, 4.7%, 43.4%, 49.4%)
CIE-LABlab(51.05, -5.45, 28.11)
CIE-LCHlch(51.05, 28.64, 100.97°)
OKLaboklab(57.62% -0.015 0.0683)
OKLCHoklch(57.62% 0.07 102.4)
XYZxyz(17.3392, 19.3146, 9.1167)
Luminance0.1931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817B49 #494F81
analogous
#815F49 #817B49 #6B8149
triadic
#817B49 #49817B #7B4981
tetradic
#817B49 #49815F #494F81 #81496B
square
#817B49 #49815F #494F81 #81496B
split-complementary
#817B49 #496B81 #5F4981
monochromatic
#33301D #5A5633 #817B49 #A69E61 #BCB688

Accessibility & contrast

On white

4.32
#817B49 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#817B49 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817B49
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817B49#FFFFFF#000000##000000
##817B491.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#837845
Deuteranopia (green-blind)
#857B4B
Tritanopia (blue-blind)
#89756F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #817b49;
/* rgb */ color: rgb(129, 123, 73);
/* oklch */ color: oklch(57.6% 0.070 102.4);
Tailwind
colors: {
  custom: {
    50: '#a7a17c',
    500: '#817b49',
    950: '#000000',
  },
}
SCSS
$custom: #817b49;
$custom-light: #a7a17c;
$custom-dark: #000000;
JSON
{
  "hex": "#817b49",
  "rgb": {
    "r": 129,
    "g": 123,
    "b": 73
  },
  "hsl": {
    "h": 53.571,
    "s": 27.723,
    "l": 39.608
  },
  "oklch": {
    "l": 0.57615,
    "c": 0.06989,
    "h": 102.4
  },
  "luminance": 0.19314
}

Semantic roles & 50–950 ramp

primary
#817B49
secondary
#7E82A8
accent
#6EC464
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#0F0E09
muted
#7F7E7B

Preview Lab

Preview with #817B49

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

Preview Lab → · Contrast checker → · Palette generator →

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