#818716#818716

#818716 is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 59.9% C 0.127 H 112.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#818716
RGBrgb(129, 135, 22)
HSLhsl(63, 72%, 31%)
HSVhsv(63, 84%, 53%)
CMYKcmyk(4.4%, 0%, 83.7%, 47.1%)
CIE-LABlab(54.08, -15.68, 53.94)
CIE-LCHlch(54.08, 56.17, 106.21°)
OKLaboklab(59.88% -0.0492 0.1166)
OKLCHoklch(59.88% 0.127 112.9)
XYZxyz(17.8627, 22.0534, 4.0747)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818716 #1C1687
analogous
#875416 #818716 #488716
triadic
#818716 #168187 #871681
tetradic
#818716 #168754 #1C1687 #871648
square
#818716 #168754 #1C1687 #871648
split-complementary
#818716 #164887 #541687
monochromatic
#1C1E05 #4F520D #818716 #B3BC1F #D6DF39

Accessibility & contrast

On white

3.88
#818716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#818716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818716
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818716#FFFFFF#000000##000000
##8187161.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#928221
Tritanopia (blue-blind)
#8A7E73
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #818716;
/* rgb */ color: rgb(129, 135, 22);
/* oklch */ color: oklch(59.9% 0.127 112.9);
Tailwind
colors: {
  custom: {
    50: '#a9a960',
    500: '#818716',
    950: '#000000',
  },
}
SCSS
$custom: #818716;
$custom-light: #a9a960;
$custom-dark: #000000;
JSON
{
  "hex": "#818716",
  "rgb": {
    "r": 129,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 63.186,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5988,
    "c": 0.12661,
    "h": 112.9
  },
  "luminance": 0.22053
}

Semantic roles & 50–950 ramp

primary
#818716
secondary
#443EBB
accent
#39EF43
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #818716

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

Preview Lab → · Contrast checker → · Palette generator →

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