#817322#817322

#817322 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.3% C 0.100 H 99.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#817322
RGBrgb(129, 115, 34)
HSLhsl(51, 58%, 32%)
HSVhsv(51, 74%, 51%)
CMYKcmyk(0%, 10.9%, 73.6%, 49.4%)
CIE-LABlab(48.32, -4.21, 44.47)
CIE-LCHlch(48.32, 44.67, 95.41°)
OKLaboklab(55.3% -0.016 0.0988)
OKLCHoklch(55.3% 0.1 99.2)
XYZxyz(15.4735, 17.0448, 3.9880)
Luminance0.1704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817322 #223081
analogous
#814422 #817322 #608122
triadic
#817322 #228173 #732281
tetradic
#817322 #228144 #223081 #812260
square
#817322 #228144 #223081 #812260
split-complementary
#817322 #226081 #442281
monochromatic
#201D08 #514815 #817322 #B19E2F #D0BD4D

Accessibility & contrast

On white

4.76
#817322 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#817322 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817322
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817322#FFFFFF#000000##FFFFFF
##8173221.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7015
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#8B6A63
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #817322;
/* rgb */ color: rgb(129, 115, 34);
/* oklch */ color: oklch(55.3% 0.100 99.2);
Tailwind
colors: {
  custom: {
    50: '#a99b63',
    500: '#817322',
    950: '#000000',
  },
}
SCSS
$custom: #817322;
$custom-light: #a99b63;
$custom-dark: #000000;
JSON
{
  "hex": "#817322",
  "rgb": {
    "r": 129,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 51.158,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55303,
    "c": 0.10012,
    "h": 99.2
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#817322
secondary
#4B5BB3
accent
#5DE146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #817322

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

Preview Lab → · Contrast checker → · Palette generator →

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