#817822#817822

#817822 is a mid, moderate yellow. Relative luminance 0.182; OKLCH L 56.4% C 0.105 H 103.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#817822
RGBrgb(129, 120, 34)
HSLhsl(54, 58%, 32%)
HSVhsv(54, 74%, 51%)
CMYKcmyk(0%, 7%, 73.6%, 49.4%)
CIE-LABlab(49.76, -7.02, 45.89)
CIE-LCHlch(49.76, 46.42, 98.70°)
OKLaboklab(56.45% -0.024 0.1018)
OKLCHoklch(56.45% 0.105 103.2)
XYZxyz(16.0592, 18.2162, 4.1832)
Luminance0.1822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817822 #222B81
analogous
#814922 #817822 #5B8122
triadic
#817822 #228178 #782281
tetradic
#817822 #228149 #222B81 #81225B
square
#817822 #228149 #222B81 #81225B
split-complementary
#817822 #225B81 #492281
monochromatic
#201E08 #514B15 #817822 #B1A52F #D0C44D

Accessibility & contrast

On white

4.52
#817822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#817822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817822
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817822#FFFFFF#000000##000000
##8178221.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#867828
Tritanopia (blue-blind)
#8B6F67
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #817822;
/* rgb */ color: rgb(129, 120, 34);
/* oklch */ color: oklch(56.4% 0.105 103.2);
Tailwind
colors: {
  custom: {
    50: '#a99e63',
    500: '#817822',
    950: '#000000',
  },
}
SCSS
$custom: #817822;
$custom-light: #a99e63;
$custom-dark: #000000;
JSON
{
  "hex": "#817822",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 54.316,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.10461,
    "h": 103.2
  },
  "luminance": 0.18216
}

Semantic roles & 50–950 ramp

primary
#817822
secondary
#4B55B3
accent
#55E146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A

Preview Lab

Preview with #817822

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

Preview Lab → · Contrast checker → · Palette generator →

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