#817E1D#817E1D

#817E1D is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 57.8% C 0.114 H 107.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#817E1D
RGBrgb(129, 126, 29)
HSLhsl(58, 63%, 31%)
HSVhsv(58, 78%, 51%)
CMYKcmyk(0%, 2.3%, 77.5%, 49.4%)
CIE-LABlab(51.47, -10.57, 49.41)
CIE-LCHlch(51.47, 50.53, 102.08°)
OKLaboklab(57.8% -0.0345 0.1083)
OKLCHoklch(57.8% 0.114 107.6)
XYZxyz(16.7365, 19.6781, 4.0788)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817E1D #1D2081
analogous
#814C1D #817E1D #52811D
triadic
#817E1D #1D817E #7E1D81
tetradic
#817E1D #1D814C #1D2081 #811D52
square
#817E1D #1D814C #1D2081 #811D52
split-complementary
#817E1D #1D5281 #4C1D81
monochromatic
#1D1C07 #4F4D12 #817E1D #B3AF28 #D5D044

Accessibility & contrast

On white

4.25
#817E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#817E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817E1D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817E1D#FFFFFF#000000##000000
##817E1D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#8B756C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #817e1d;
/* rgb */ color: rgb(129, 126, 29);
/* oklch */ color: oklch(57.8% 0.114 107.6);
Tailwind
colors: {
  custom: {
    50: '#a9a362',
    500: '#817e1d',
    950: '#000000',
  },
}
SCSS
$custom: #817e1d;
$custom-light: #a9a362;
$custom-dark: #000000;
JSON
{
  "hex": "#817e1d",
  "rgb": {
    "r": 129,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 58.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.11366,
    "h": 107.6
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#817E1D
secondary
#4649B4
accent
#46E641
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A

Preview Lab

Preview with #817E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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