#817213#817213

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

Color values

HEX#817213
RGBrgb(129, 114, 19)
HSLhsl(52, 74%, 29%)
HSVhsv(52, 85%, 51%)
CMYKcmyk(0%, 11.6%, 85.3%, 49.4%)
CIE-LABlab(47.94, -4.29, 49.51)
CIE-LCHlch(47.94, 49.70, 94.95°)
OKLaboklab(54.98% -0.0177 0.1065)
OKLCHoklch(54.98% 0.108 99.4)
XYZxyz(15.1889, 16.7496, 3.0489)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817213 #132281
analogous
#813B13 #817213 #598113
triadic
#817213 #138172 #721381
tetradic
#817213 #13813B #132281 #811359
square
#817213 #13813B #132281 #811359
split-complementary
#817213 #135981 #3B1381
monochromatic
#1B1804 #4C430B #817213 #B6A11B #E0C82E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##817213#FFFFFF#000000##FFFFFF
##8172131.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)
#82741B
Tritanopia (blue-blind)
#8C6961
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #817213;
/* rgb */ color: rgb(129, 114, 19);
/* oklch */ color: oklch(55.0% 0.108 99.4);
Tailwind
colors: {
  custom: {
    50: '#a99a5b',
    500: '#817213',
    950: '#000000',
  },
}
SCSS
$custom: #817213;
$custom-light: #a99a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#817213",
  "rgb": {
    "r": 129,
    "g": 114,
    "b": 19
  },
  "hsl": {
    "h": 51.818,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.54979,
    "c": 0.10793,
    "h": 99.4
  },
  "luminance": 0.16749
}

Semantic roles & 50–950 ramp

primary
#817213
secondary
#3A4BB6
accent
#50F137
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #817213

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

Preview Lab → · Contrast checker → · Palette generator →

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