#817210#817210

#817210 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 55.0% C 0.109 H 99.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#817210
RGBrgb(129, 114, 16)
HSLhsl(52, 78%, 28%)
HSVhsv(52, 88%, 51%)
CMYKcmyk(0%, 11.6%, 87.6%, 49.4%)
CIE-LABlab(47.93, -4.38, 50.34)
CIE-LCHlch(47.93, 50.53, 94.97°)
OKLaboklab(54.97% -0.0182 0.1077)
OKLCHoklch(54.97% 0.109 99.6)
XYZxyz(15.1649, 16.7399, 2.9225)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817210 #101F81
analogous
#813910 #817210 #578110
triadic
#817210 #108172 #721081
tetradic
#817210 #108139 #101F81 #811057
square
#817210 #108139 #101F81 #811057
split-complementary
#817210 #105781 #391081
monochromatic
#1B1803 #4B4209 #817210 #B7A217 #E4CB27

Accessibility & contrast

On white

4.83
#817210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#817210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817210
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817210#FFFFFF#000000##FFFFFF
##8172101.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#827419
Tritanopia (blue-blind)
#8C6961
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #817210;
/* rgb */ color: rgb(129, 114, 16);
/* oklch */ color: oklch(55.0% 0.109 99.6);
Tailwind
colors: {
  custom: {
    50: '#aa9a5a',
    500: '#817210',
    950: '#000000',
  },
}
SCSS
$custom: #817210;
$custom-light: #aa9a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#817210",
  "rgb": {
    "r": 129,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 52.035,
    "s": 77.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54966,
    "c": 0.1092,
    "h": 99.6
  },
  "luminance": 0.16739
}

Semantic roles & 50–950 ramp

primary
#817210
secondary
#3647B7
accent
#4DF433
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817210

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

Preview Lab → · Contrast checker → · Palette generator →

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