#817022#817022

#817022 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.098 H 96.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#817022
RGBrgb(129, 112, 34)
HSLhsl(49, 58%, 32%)
HSVhsv(49, 74%, 51%)
CMYKcmyk(0%, 13.2%, 73.6%, 49.4%)
CIE-LABlab(47.46, -2.51, 43.62)
CIE-LCHlch(47.46, 43.69, 93.29°)
OKLaboklab(54.62% -0.0111 0.097)
OKLCHoklch(54.62% 0.098 96.6)
XYZxyz(15.1369, 16.3717, 3.8758)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817022 #223381
analogous
#814122 #817022 #638122
triadic
#817022 #228170 #702281
tetradic
#817022 #228141 #223381 #812263
square
#817022 #228141 #223381 #812263
split-complementary
#817022 #226381 #412281
monochromatic
#201C08 #514615 #817022 #B19A2F #D0B94D

Accessibility & contrast

On white

4.91
#817022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#817022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817022
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817022#FFFFFF#000000##FFFFFF
##8170221.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D16
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#8C6760
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #817022;
/* rgb */ color: rgb(129, 112, 34);
/* oklch */ color: oklch(54.6% 0.098 96.6);
Tailwind
colors: {
  custom: {
    50: '#a99862',
    500: '#817022',
    950: '#000000',
  },
}
SCSS
$custom: #817022;
$custom-light: #a99862;
$custom-dark: #000000;
JSON
{
  "hex": "#817022",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 49.263,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.09767,
    "h": 96.6
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#817022
secondary
#4B5EB3
accent
#62E146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A

Preview Lab

Preview with #817022

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

Preview Lab → · Contrast checker → · Palette generator →

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