#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 |
|---|---|
| RGB | rgb(129, 128, 26) |
| HSL | hsl(59, 66%, 30%) |
| HSV | hsv(59, 80%, 51%) |
| CMYK | cmyk(0%, 0.8%, 79.8%, 49.4%) |
| CIE-LAB | lab(52.04, -11.79, 50.94) |
| CIE-LCH | lch(52.04, 52.29, 103.03°) |
| OKLab | oklab(58.25% -0.0381 0.111) |
| OKLCH | oklch(58.25% 0.117 109) |
| XYZ | xyz(16.9595, 20.1806, 3.9790) |
| Luminance | 0.2018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.69
Shit Green
#758000
ΔE00 3.52
Poop Green
#6F7C00
ΔE00 4.65
Swamp Green
#748500
ΔE00 4.85
Murky Green
#6C7A0E
ΔE00 5.44
Olive (survey)
#6E750E
ΔE00 5.44
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 |
|---|---|---|---|---|
| ##81801A | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.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