#818011#818011

#818011 is a mid, vivid yellow. Relative luminance 0.201; OKLCH L 58.2% C 0.121 H 109.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#818011
RGBrgb(129, 128, 17)
HSLhsl(59, 77%, 29%)
HSVhsv(59, 87%, 51%)
CMYKcmyk(0%, 0.8%, 86.8%, 49.4%)
CIE-LABlab(52.00, -12.10, 53.47)
CIE-LCHlch(52.00, 54.82, 102.75°)
OKLaboklab(58.21% -0.0397 0.1147)
OKLCHoklch(58.21% 0.121 109.1)
XYZxyz(16.8743, 20.1465, 3.5300)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818011 #111281
analogous
#814811 #818011 #4A8111
triadic
#818011 #118180 #801181
tetradic
#818011 #118148 #111281 #81114A
square
#818011 #118148 #111281 #81114A
split-complementary
#818011 #114A81 #481181
monochromatic
#1B1B04 #4B4A0A #818011 #B7B618 #E3E12A

Accessibility & contrast

On white

4.18
#818011 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##818011#FFFFFF#000000##000000
##8180111.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #818011;
/* rgb */ color: rgb(129, 128, 17);
/* oklch */ color: oklch(58.2% 0.121 109.1);
Tailwind
colors: {
  custom: {
    50: '#a9a45d',
    500: '#818011',
    950: '#000000',
  },
}
SCSS
$custom: #818011;
$custom-light: #a9a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#818011",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 17
  },
  "hsl": {
    "h": 59.464,
    "s": 76.712,
    "l": 28.627
  },
  "oklch": {
    "l": 0.58209,
    "c": 0.12139,
    "h": 109.1
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#818011
secondary
#3738B7
accent
#36F335
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79

Preview Lab

Preview with #818011

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

Preview Lab → · Contrast checker → · Palette generator →

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