#81801C#81801C

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

Color values

HEX#81801C
RGBrgb(129, 128, 28)
HSLhsl(59, 64%, 31%)
HSVhsv(59, 78%, 51%)
CMYKcmyk(0%, 0.8%, 78.3%, 49.4%)
CIE-LABlab(52.05, -11.71, 50.29)
CIE-LCHlch(52.05, 51.63, 103.10°)
OKLaboklab(58.26% -0.0377 0.11)
OKLCHoklch(58.26% 0.116 108.9)
XYZxyz(16.9827, 20.1898, 4.1008)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81801C #1C1D81
analogous
#814D1C #81801C #4F811C
triadic
#81801C #1C8180 #801C81
tetradic
#81801C #1C814D #1C1D81 #811C4F
square
#81801C #1C814D #1C1D81 #811C4F
split-complementary
#81801C #1C4F81 #4D1C81
monochromatic
#1C1C06 #4F4E11 #81801C #B3B227 #D6D442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81801C#FFFFFF#000000##000000
##81801C1.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)
#8B7A03
Deuteranopia (green-blind)
#8C7E24
Tritanopia (blue-blind)
#8B776D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #81801c;
/* rgb */ color: rgb(129, 128, 28);
/* oklch */ color: oklch(58.3% 0.116 108.9);
Tailwind
colors: {
  custom: {
    50: '#a9a461',
    500: '#81801c',
    950: '#000000',
  },
}
SCSS
$custom: #81801c;
$custom-light: #a9a461;
$custom-dark: #000000;
JSON
{
  "hex": "#81801c",
  "rgb": {
    "r": 129,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 59.406,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.11627,
    "h": 108.9
  },
  "luminance": 0.20189
}

Semantic roles & 50–950 ramp

primary
#81801C
secondary
#4445B4
accent
#42E740
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #81801C

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

Preview Lab → · Contrast checker → · Palette generator →

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