#818916#818916

#818916 is a mid, vivid yellow. Relative luminance 0.226; OKLCH L 60.4% C 0.129 H 113.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#818916
RGBrgb(129, 137, 22)
HSLhsl(64, 72%, 31%)
HSVhsv(64, 84%, 54%)
CMYKcmyk(5.8%, 0%, 83.9%, 46.3%)
CIE-LABlab(54.68, -16.74, 54.45)
CIE-LCHlch(54.68, 56.96, 107.09°)
OKLaboklab(60.36% -0.0521 0.1177)
OKLCHoklch(60.36% 0.129 113.9)
XYZxyz(18.1443, 22.6168, 4.1686)
Luminance0.2262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818916 #1E1689
analogous
#895716 #818916 #478916
triadic
#818916 #168189 #891681
tetradic
#818916 #168957 #1E1689 #891647
square
#818916 #168957 #1E1689 #891647
split-complementary
#818916 #164789 #571689
monochromatic
#1E2005 #4F540E #818916 #B3BE1E #D4DF3A

Accessibility & contrast

On white

3.80
#818916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#818916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818916
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818916#FFFFFF#000000##000000
##8189161.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#948422
Tritanopia (blue-blind)
#8A8075
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #818916;
/* rgb */ color: rgb(129, 137, 22);
/* oklch */ color: oklch(60.4% 0.129 113.9);
Tailwind
colors: {
  custom: {
    50: '#a9ab60',
    500: '#818916',
    950: '#000000',
  },
}
SCSS
$custom: #818916;
$custom-light: #a9ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#818916",
  "rgb": {
    "r": 129,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 64.174,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.60355,
    "c": 0.12877,
    "h": 113.9
  },
  "luminance": 0.22616
}

Semantic roles & 50–950 ramp

primary
#818916
secondary
#473EBD
accent
#39EF45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101005
muted
#7F7F7A

Preview Lab

Preview with #818916

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

Preview Lab → · Contrast checker → · Palette generator →

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