#817A2D#817A2D

#817A2D is a mid, moderate yellow. Relative luminance 0.188; OKLCH L 57.0% C 0.098 H 104.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#817A2D
RGBrgb(129, 122, 45)
HSLhsl(55, 48%, 34%)
HSVhsv(55, 65%, 51%)
CMYKcmyk(0%, 5.4%, 65.1%, 49.4%)
CIE-LABlab(50.42, -7.46, 41.79)
CIE-LCHlch(50.42, 42.45, 100.12°)
OKLaboklab(57.01% -0.0239 0.0951)
OKLCHoklch(57.01% 0.098 104.1)
XYZxyz(16.4871, 18.7763, 5.2378)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817A2D #2D3481
analogous
#81502D #817A2D #5E812D
triadic
#817A2D #2D817A #7A2D81
tetradic
#817A2D #2D8150 #2D3481 #812D5E
square
#817A2D #2D8150 #2D3481 #812D5E
split-complementary
#817A2D #2D5E81 #502D81
monochromatic
#26240D #544F1D #817A2D #AEA53D #C8BF61

Accessibility & contrast

On white

4.42
#817A2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#817A2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817A2D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817A2D#FFFFFF#000000##000000
##817A2D1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#857624
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#8A726A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #817a2d;
/* rgb */ color: rgb(129, 122, 45);
/* oklch */ color: oklch(57.0% 0.098 104.1);
Tailwind
colors: {
  custom: {
    50: '#a8a06a',
    500: '#817a2d',
    950: '#000000',
  },
}
SCSS
$custom: #817a2d;
$custom-light: #a8a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#817a2d",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 45
  },
  "hsl": {
    "h": 55,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57006,
    "c": 0.09807,
    "h": 104.1
  },
  "luminance": 0.18776
}

Semantic roles & 50–950 ramp

primary
#817A2D
secondary
#5C63AE
accent
#5BD850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A

Preview Lab

Preview with #817A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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