#818616#818616

#818616 is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.6% C 0.126 H 112.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#818616
RGBrgb(129, 134, 22)
HSLhsl(63, 72%, 31%)
HSVhsv(63, 84%, 53%)
CMYKcmyk(3.7%, 0%, 83.6%, 47.5%)
CIE-LABlab(53.79, -15.16, 53.68)
CIE-LCHlch(53.79, 55.78, 105.77°)
OKLaboklab(59.64% -0.0478 0.1161)
OKLCHoklch(59.64% 0.126 112.4)
XYZxyz(17.7238, 21.7757, 4.0284)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818616 #1B1686
analogous
#865316 #818616 #498616
triadic
#818616 #168186 #861681
tetradic
#818616 #168653 #1B1686 #861649
square
#818616 #168653 #1B1686 #861649
split-complementary
#818616 #164986 #531686
monochromatic
#1C1D05 #4E510D #818616 #B4BB1F #D7DE38

Accessibility & contrast

On white

3.92
#818616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#818616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818616
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818616#FFFFFF#000000##000000
##8186161.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#918221
Tritanopia (blue-blind)
#8A7D72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #818616;
/* rgb */ color: rgb(129, 134, 22);
/* oklch */ color: oklch(59.6% 0.126 112.4);
Tailwind
colors: {
  custom: {
    50: '#a9a960',
    500: '#818616',
    950: '#000000',
  },
}
SCSS
$custom: #818616;
$custom-light: #a9a960;
$custom-dark: #000000;
JSON
{
  "hex": "#818616",
  "rgb": {
    "r": 129,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 62.679,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.59644,
    "c": 0.12554,
    "h": 112.4
  },
  "luminance": 0.21775
}

Semantic roles & 50–950 ramp

primary
#818616
secondary
#433EBA
accent
#39EF41
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818616

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

Preview Lab → · Contrast checker → · Palette generator →

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