#817820#817820

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

Color values

HEX#817820
RGBrgb(129, 120, 32)
HSLhsl(54, 60%, 32%)
HSVhsv(54, 75%, 51%)
CMYKcmyk(0%, 7%, 75.2%, 49.4%)
CIE-LABlab(49.74, -7.12, 46.67)
CIE-LCHlch(49.74, 47.21, 98.68°)
OKLaboklab(56.43% -0.0245 0.1031)
OKLCHoklch(56.43% 0.106 103.4)
XYZxyz(16.0311, 18.2050, 4.0357)
Luminance0.1820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817820 #202981
analogous
#814820 #817820 #5A8120
triadic
#817820 #208178 #782081
tetradic
#817820 #208148 #202981 #81205A
square
#817820 #208148 #202981 #81205A
split-complementary
#817820 #205A81 #482081
monochromatic
#1F1D08 #504A14 #817820 #B2A62C #D2C549

Accessibility & contrast

On white

4.53
#817820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##817820#FFFFFF#000000##000000
##8178201.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #817820;
/* rgb */ color: rgb(129, 120, 32);
/* oklch */ color: oklch(56.4% 0.106 103.4);
Tailwind
colors: {
  custom: {
    50: '#a99e62',
    500: '#817820',
    950: '#000000',
  },
}
SCSS
$custom: #817820;
$custom-light: #a99e62;
$custom-dark: #000000;
JSON
{
  "hex": "#817820",
  "rgb": {
    "r": 129,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 54.433,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.10594,
    "h": 103.4
  },
  "luminance": 0.18204
}

Semantic roles & 50–950 ramp

primary
#817820
secondary
#4953B4
accent
#53E344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #817820

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

Preview Lab → · Contrast checker → · Palette generator →

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