#817420#817420

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

Color values

HEX#817420
RGBrgb(129, 116, 32)
HSLhsl(52, 60%, 32%)
HSVhsv(52, 75%, 51%)
CMYKcmyk(0%, 10.1%, 75.2%, 49.4%)
CIE-LABlab(48.59, -4.88, 45.55)
CIE-LCHlch(48.59, 45.81, 96.11°)
OKLaboklab(55.52% -0.0181 0.1007)
OKLCHoklch(55.52% 0.102 100.2)
XYZxyz(15.5601, 17.2629, 3.8787)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817420 #202D81
analogous
#814420 #817420 #5E8120
triadic
#817420 #208174 #742081
tetradic
#817420 #208144 #202D81 #81205E
square
#817420 #208144 #202D81 #81205E
split-complementary
#817420 #205E81 #442081
monochromatic
#1F1C08 #504814 #817420 #B2A02C #D2C049

Accessibility & contrast

On white

4.72
#817420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #817420
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817420#FFFFFF#000000##FFFFFF
##8174201.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807112
Deuteranopia (green-blind)
#837625
Tritanopia (blue-blind)
#8B6B64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #817420;
/* rgb */ color: rgb(129, 116, 32);
/* oklch */ color: oklch(55.5% 0.102 100.2);
Tailwind
colors: {
  custom: {
    50: '#a99b62',
    500: '#817420',
    950: '#000000',
  },
}
SCSS
$custom: #817420;
$custom-light: #a99b62;
$custom-dark: #000000;
JSON
{
  "hex": "#817420",
  "rgb": {
    "r": 129,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 51.959,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55515,
    "c": 0.10234,
    "h": 100.2
  },
  "luminance": 0.17262
}

Semantic roles & 50–950 ramp

primary
#817420
secondary
#4957B4
accent
#5AE344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #817420

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

Preview Lab → · Contrast checker → · Palette generator →

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