#817A1D#817A1D

#817A1D is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.110 H 104.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#817A1D
RGBrgb(129, 122, 29)
HSLhsl(56, 63%, 31%)
HSVhsv(56, 78%, 51%)
CMYKcmyk(0%, 5.4%, 77.5%, 49.4%)
CIE-LABlab(50.31, -8.38, 48.33)
CIE-LCHlch(50.31, 49.05, 99.83°)
OKLaboklab(56.87% -0.0283 0.106)
OKLCHoklch(56.87% 0.11 104.9)
XYZxyz(16.2353, 18.6755, 3.9117)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817A1D #1D2481
analogous
#81481D #817A1D #56811D
triadic
#817A1D #1D817A #7A1D81
tetradic
#817A1D #1D8148 #1D2481 #811D56
square
#817A1D #1D8148 #1D2481 #811D56
split-complementary
#817A1D #1D5681 #481D81
monochromatic
#1D1B07 #4F4B12 #817A1D #B3A928 #D5CB44

Accessibility & contrast

On white

4.44
#817A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#817A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817A1D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817A1D#FFFFFF#000000##000000
##817A1D1.004.444.744.74
#FFFFFF4.441.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857509
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#8B7168
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #817a1d;
/* rgb */ color: rgb(129, 122, 29);
/* oklch */ color: oklch(56.9% 0.110 104.9);
Tailwind
colors: {
  custom: {
    50: '#a9a061',
    500: '#817a1d',
    950: '#000000',
  },
}
SCSS
$custom: #817a1d;
$custom-light: #a9a061;
$custom-dark: #000000;
JSON
{
  "hex": "#817a1d",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 55.8,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.56873,
    "c": 0.10971,
    "h": 104.9
  },
  "luminance": 0.18675
}

Semantic roles & 50–950 ramp

primary
#817A1D
secondary
#464DB4
accent
#4DE641
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #817A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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