#817A20#817A20

#817A20 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 56.9% C 0.108 H 104.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#817A20
RGBrgb(129, 122, 32)
HSLhsl(56, 60%, 32%)
HSVhsv(56, 75%, 51%)
CMYKcmyk(0%, 5.4%, 75.2%, 49.4%)
CIE-LABlab(50.32, -8.23, 47.23)
CIE-LCHlch(50.32, 47.94, 99.89°)
OKLaboklab(56.89% -0.0276 0.1043)
OKLCHoklch(56.89% 0.108 104.8)
XYZxyz(16.2742, 18.6911, 4.1167)
Luminance0.1869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#817A20 #202781
analogous
#814A20 #817A20 #588120
triadic
#817A20 #20817A #7A2081
tetradic
#817A20 #20814A #202781 #812058
square
#817A20 #20814A #202781 #812058
split-complementary
#817A20 #205881 #4A2081
monochromatic
#1F1D08 #504C14 #817A20 #B2A82C #D2C849

Accessibility & contrast

On white

4.43
#817A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#817A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #817A20
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##817A20#FFFFFF#000000##000000
##817A201.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#857610
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#8B7169
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #817a20;
/* rgb */ color: rgb(129, 122, 32);
/* oklch */ color: oklch(56.9% 0.108 104.8);
Tailwind
colors: {
  custom: {
    50: '#a9a062',
    500: '#817a20',
    950: '#000000',
  },
}
SCSS
$custom: #817a20;
$custom-light: #a9a062;
$custom-dark: #000000;
JSON
{
  "hex": "#817a20",
  "rgb": {
    "r": 129,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 55.67,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56894,
    "c": 0.10785,
    "h": 104.8
  },
  "luminance": 0.1869
}

Semantic roles & 50–950 ramp

primary
#817A20
secondary
#4951B4
accent
#50E344
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #817A20

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

Preview Lab → · Contrast checker → · Palette generator →

#817A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva