#817D1D#817D1D

#817D1D is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.6% C 0.113 H 107.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#817D1D
RGBrgb(129, 125, 29)
HSLhsl(58, 63%, 31%)
HSVhsv(58, 78%, 51%)
CMYKcmyk(0%, 3.1%, 77.5%, 49.4%)
CIE-LABlab(51.18, -10.03, 49.14)
CIE-LCHlch(51.18, 50.15, 101.53°)
OKLaboklab(57.57% -0.0329 0.1077)
OKLCHoklch(57.57% 0.113 107)
XYZxyz(16.6093, 19.4237, 4.0364)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817D1D #1D2181
analogous
#814B1D #817D1D #53811D
triadic
#817D1D #1D817D #7D1D81
tetradic
#817D1D #1D814B #1D2181 #811D53
square
#817D1D #1D814B #1D2181 #811D53
split-complementary
#817D1D #1D5381 #4B1D81
monochromatic
#1D1C07 #4F4D12 #817D1D #B3AD28 #D5CF44

Accessibility & contrast

On white

4.30
#817D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#817D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817D1D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817D1D#FFFFFF#000000##000000
##817D1D1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#887807
Deuteranopia (green-blind)
#8A7C25
Tritanopia (blue-blind)
#8B746B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #817d1d;
/* rgb */ color: rgb(129, 125, 29);
/* oklch */ color: oklch(57.6% 0.113 107.0);
Tailwind
colors: {
  custom: {
    50: '#a9a261',
    500: '#817d1d',
    950: '#000000',
  },
}
SCSS
$custom: #817d1d;
$custom-light: #a9a261;
$custom-dark: #000000;
JSON
{
  "hex": "#817d1d",
  "rgb": {
    "r": 129,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 57.6,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57569,
    "c": 0.11265,
    "h": 107
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#817D1D
secondary
#464AB4
accent
#48E641
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #817D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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