#818016#818016

#818016 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.2% C 0.119 H 109.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#818016
RGBrgb(129, 128, 22)
HSLhsl(59, 71%, 30%)
HSVhsv(59, 83%, 51%)
CMYKcmyk(0%, 0.8%, 82.9%, 49.4%)
CIE-LABlab(52.02, -11.94, 52.15)
CIE-LCHlch(52.02, 53.50, 102.89°)
OKLaboklab(58.23% -0.0389 0.1128)
OKLCHoklch(58.23% 0.119 109)
XYZxyz(16.9179, 20.1639, 3.7598)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818016 #161781
analogous
#814A16 #818016 #4D8116
triadic
#818016 #168180 #801681
tetradic
#818016 #16814A #161781 #81164D
square
#818016 #16814A #161781 #81164D
split-complementary
#818016 #164D81 #4A1681
monochromatic
#1A1A04 #4D4C0D #818016 #B5B41F #DDDB35

Accessibility & contrast

On white

4.17
#818016 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#818016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818016
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818016#FFFFFF#000000##000000
##8180161.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#8B776D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #818016;
/* rgb */ color: rgb(129, 128, 22);
/* oklch */ color: oklch(58.2% 0.119 109.0);
Tailwind
colors: {
  custom: {
    50: '#a9a45f',
    500: '#818016',
    950: '#000000',
  },
}
SCSS
$custom: #818016;
$custom-light: #a9a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#818016",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 59.439,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.58231,
    "c": 0.1193,
    "h": 109
  },
  "luminance": 0.20163
}

Semantic roles & 50–950 ramp

primary
#818016
secondary
#3D3EB6
accent
#3CEE3A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818016

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

Preview Lab → · Contrast checker → · Palette generator →

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