#818111#818111

#818111 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.4% C 0.122 H 109.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#818111
RGBrgb(129, 129, 17)
HSLhsl(60, 77%, 29%)
HSVhsv(60, 87%, 51%)
CMYKcmyk(0%, 0%, 86.8%, 49.4%)
CIE-LABlab(52.30, -12.64, 53.72)
CIE-LCHlch(52.30, 55.18, 103.24°)
OKLaboklab(58.44% -0.0412 0.1153)
OKLCHoklch(58.44% 0.122 109.7)
XYZxyz(17.0054, 20.4086, 3.5737)
Luminance0.2041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818111 #111181
analogous
#814911 #818111 #498111
triadic
#818111 #118181 #811181
tetradic
#818111 #118149 #111181 #811149
square
#818111 #118149 #111181 #811149
split-complementary
#818111 #114981 #491181
monochromatic
#1B1B04 #4B4B0A #818111 #B7B718 #E3E32A

Accessibility & contrast

On white

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

On black

5.08
#818111 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818111
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818111#FFFFFF#000000##000000
##8181111.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #818111;
/* rgb */ color: rgb(129, 129, 17);
/* oklch */ color: oklch(58.4% 0.122 109.7);
Tailwind
colors: {
  custom: {
    50: '#a9a55d',
    500: '#818111',
    950: '#000000',
  },
}
SCSS
$custom: #818111;
$custom-light: #a9a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#818111",
  "rgb": {
    "r": 129,
    "g": 129,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.12239,
    "h": 109.7
  },
  "luminance": 0.20408
}

Semantic roles & 50–950 ramp

primary
#818111
secondary
#3737B7
accent
#35F335
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818111

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

Preview Lab → · Contrast checker → · Palette generator →

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