#81801A#81801A

#81801A is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.117 H 109.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#81801A
RGBrgb(129, 128, 26)
HSLhsl(59, 66%, 30%)
HSVhsv(59, 80%, 51%)
CMYKcmyk(0%, 0.8%, 79.8%, 49.4%)
CIE-LABlab(52.04, -11.79, 50.94)
CIE-LCHlch(52.04, 52.29, 103.03°)
OKLaboklab(58.25% -0.0381 0.111)
OKLCHoklch(58.25% 0.117 109)
XYZxyz(16.9595, 20.1806, 3.9790)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81801A #1A1B81
analogous
#814C1A #81801A #4F811A
triadic
#81801A #1A8180 #801A81
tetradic
#81801A #1A814C #1A1B81 #811A4F
square
#81801A #1A814C #1A1B81 #811A4F
split-complementary
#81801A #1A4F81 #4C1A81
monochromatic
#1B1B05 #4E4D10 #81801A #B4B324 #D8D63D

Accessibility & contrast

On white

4.17
#81801A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#81801A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81801A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81801A#FFFFFF#000000##000000
##81801A1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81801a;
/* rgb */ color: rgb(129, 128, 26);
/* oklch */ color: oklch(58.3% 0.117 109.0);
Tailwind
colors: {
  custom: {
    50: '#a9a460',
    500: '#81801a',
    950: '#000000',
  },
}
SCSS
$custom: #81801a;
$custom-light: #a9a460;
$custom-dark: #000000;
JSON
{
  "hex": "#81801a",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 59.417,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.58252,
    "c": 0.11735,
    "h": 109
  },
  "luminance": 0.2018
}

Semantic roles & 50–950 ramp

primary
#81801A
secondary
#4243B5
accent
#40E93E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #81801A

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

Preview Lab → · Contrast checker → · Palette generator →

#81801A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva