#817121#817121

#817121 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.8% C 0.099 H 97.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#817121
RGBrgb(129, 113, 33)
HSLhsl(50, 59%, 32%)
HSVhsv(50, 74%, 51%)
CMYKcmyk(0%, 12.4%, 74.4%, 49.4%)
CIE-LABlab(47.74, -3.13, 44.32)
CIE-LCHlch(47.74, 44.43, 94.04°)
OKLaboklab(54.84% -0.013 0.0983)
OKLCHoklch(54.84% 0.099 97.6)
XYZxyz(15.2336, 16.5880, 3.8379)
Luminance0.1659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817121 #213181
analogous
#814121 #817121 #618121
triadic
#817121 #218171 #712181
tetradic
#817121 #218141 #213181 #812161
square
#817121 #218141 #213181 #812161
split-complementary
#817121 #216181 #412181
monochromatic
#201C08 #504615 #817121 #B29C2D #D1BB4B

Accessibility & contrast

On white

4.86
#817121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#817121 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817121
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817121#FFFFFF#000000##FFFFFF
##8171211.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E14
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#8C6861
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #817121;
/* rgb */ color: rgb(129, 113, 33);
/* oklch */ color: oklch(54.8% 0.099 97.6);
Tailwind
colors: {
  custom: {
    50: '#a99962',
    500: '#817121',
    950: '#000000',
  },
}
SCSS
$custom: #817121;
$custom-light: #a99962;
$custom-dark: #000000;
JSON
{
  "hex": "#817121",
  "rgb": {
    "r": 129,
    "g": 113,
    "b": 33
  },
  "hsl": {
    "h": 50,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.09916,
    "h": 97.6
  },
  "luminance": 0.16587
}

Semantic roles & 50–950 ramp

primary
#817121
secondary
#4A5CB4
accent
#60E245
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #817121

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

Preview Lab → · Contrast checker → · Palette generator →

#817121 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva