#817522#817522

#817522 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.8% C 0.102 H 100.9°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#817522
RGBrgb(129, 117, 34)
HSLhsl(52, 58%, 32%)
HSVhsv(52, 74%, 51%)
CMYKcmyk(0%, 9.3%, 73.6%, 49.4%)
CIE-LABlab(48.89, -5.34, 45.04)
CIE-LCHlch(48.89, 45.35, 96.76°)
OKLaboklab(55.76% -0.0192 0.1)
OKLCHoklch(55.76% 0.102 100.9)
XYZxyz(15.7040, 17.5059, 4.0649)
Luminance0.1751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817522 #222E81
analogous
#814622 #817522 #5E8122
triadic
#817522 #228175 #752281
tetradic
#817522 #228146 #222E81 #81225E
square
#817522 #228146 #222E81 #81225E
split-complementary
#817522 #225E81 #462281
monochromatic
#201D08 #514915 #817522 #B1A12F #D0C04D

Accessibility & contrast

On white

4.67
#817522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#817522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #817522
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817522#FFFFFF#000000##FFFFFF
##8175221.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#8B6C65
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #817522;
/* rgb */ color: rgb(129, 117, 34);
/* oklch */ color: oklch(55.8% 0.102 100.9);
Tailwind
colors: {
  custom: {
    50: '#a99c63',
    500: '#817522',
    950: '#000000',
  },
}
SCSS
$custom: #817522;
$custom-light: #a99c63;
$custom-dark: #000000;
JSON
{
  "hex": "#817522",
  "rgb": {
    "r": 129,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 52.421,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55759,
    "c": 0.10186,
    "h": 100.9
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#817522
secondary
#4B59B3
accent
#5AE146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #817522

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

Preview Lab → · Contrast checker → · Palette generator →

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