#818116#818116

#818116 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.120 H 109.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#818116
RGBrgb(129, 129, 22)
HSLhsl(60, 71%, 30%)
HSVhsv(60, 83%, 51%)
CMYKcmyk(0%, 0%, 82.9%, 49.4%)
CIE-LABlab(52.32, -12.48, 52.41)
CIE-LCHlch(52.32, 53.87, 103.40°)
OKLaboklab(58.47% -0.0404 0.1133)
OKLCHoklch(58.47% 0.12 109.6)
XYZxyz(17.0490, 20.4261, 3.8035)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818116 #161681
analogous
#814C16 #818116 #4C8116
triadic
#818116 #168181 #811681
tetradic
#818116 #16814C #161681 #81164C
square
#818116 #16814C #161681 #81164C
split-complementary
#818116 #164C81 #4C1681
monochromatic
#1A1A04 #4D4D0D #818116 #B5B51F #DDDD35

Accessibility & contrast

On white

4.13
#818116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#818116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818116
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818116#FFFFFF#000000##000000
##8181161.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#8B786E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #818116;
/* rgb */ color: rgb(129, 129, 22);
/* oklch */ color: oklch(58.5% 0.120 109.6);
Tailwind
colors: {
  custom: {
    50: '#a9a55f',
    500: '#818116',
    950: '#000000',
  },
}
SCSS
$custom: #818116;
$custom-light: #a9a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#818116",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 60,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.58465,
    "c": 0.12032,
    "h": 109.6
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#818116
secondary
#3D3DB6
accent
#3AEE3A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818116

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

Preview Lab → · Contrast checker → · Palette generator →

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