#817020#817020

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

Color values

HEX#817020
RGBrgb(129, 112, 32)
HSLhsl(49, 60%, 32%)
HSVhsv(49, 75%, 51%)
CMYKcmyk(0%, 13.2%, 75.2%, 49.4%)
CIE-LABlab(47.44, -2.61, 44.44)
CIE-LCHlch(47.44, 44.52, 93.36°)
OKLaboklab(54.61% -0.0117 0.0984)
OKLCHoklch(54.61% 0.099 96.8)
XYZxyz(15.1089, 16.3605, 3.7283)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817020 #203181
analogous
#814020 #817020 #628120
triadic
#817020 #208170 #702081
tetradic
#817020 #208140 #203181 #812062
square
#817020 #208140 #203181 #812062
split-complementary
#817020 #206281 #402081
monochromatic
#1F1B08 #504514 #817020 #B29B2C #D2BA49

Accessibility & contrast

On white

4.92
#817020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #817020
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817020#FFFFFF#000000##FFFFFF
##8170201.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #817020;
/* rgb */ color: rgb(129, 112, 32);
/* oklch */ color: oklch(54.6% 0.099 96.8);
Tailwind
colors: {
  custom: {
    50: '#a99861',
    500: '#817020',
    950: '#000000',
  },
}
SCSS
$custom: #817020;
$custom-light: #a99861;
$custom-dark: #000000;
JSON
{
  "hex": "#817020",
  "rgb": {
    "r": 129,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 49.485,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54607,
    "c": 0.09906,
    "h": 96.8
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#817020
secondary
#495CB4
accent
#60E344
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #817020

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

Preview Lab → · Contrast checker → · Palette generator →

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