#817422#817422

#817422 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.101 H 100.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#817422
RGBrgb(129, 116, 34)
HSLhsl(52, 58%, 32%)
HSVhsv(52, 74%, 51%)
CMYKcmyk(0%, 10.1%, 73.6%, 49.4%)
CIE-LABlab(48.60, -4.78, 44.75)
CIE-LCHlch(48.60, 45.01, 96.09°)
OKLaboklab(55.53% -0.0176 0.0994)
OKLCHoklch(55.53% 0.101 100)
XYZxyz(15.5881, 17.2741, 4.0262)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817422 #222F81
analogous
#814422 #817422 #5F8122
triadic
#817422 #228174 #742281
tetradic
#817422 #228144 #222F81 #81225F
square
#817422 #228144 #222F81 #81225F
split-complementary
#817422 #225F81 #442281
monochromatic
#201D08 #514815 #817422 #B1A02F #D0BE4D

Accessibility & contrast

On white

4.71
#817422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#817422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #817422
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817422#FFFFFF#000000##FFFFFF
##8174221.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7115
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#8B6B64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #817422;
/* rgb */ color: rgb(129, 116, 34);
/* oklch */ color: oklch(55.5% 0.101 100.0);
Tailwind
colors: {
  custom: {
    50: '#a99b63',
    500: '#817422',
    950: '#000000',
  },
}
SCSS
$custom: #817422;
$custom-light: #a99b63;
$custom-dark: #000000;
JSON
{
  "hex": "#817422",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 51.789,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55531,
    "c": 0.10098,
    "h": 100
  },
  "luminance": 0.17273
}

Semantic roles & 50–950 ramp

primary
#817422
secondary
#4B5AB3
accent
#5CE146
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #817422

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

Preview Lab → · Contrast checker → · Palette generator →

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