#81801F#81801F
#81801F is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.3% C 0.115 H 108.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #81801F |
|---|---|
| RGB | rgb(129, 128, 31) |
| HSL | hsl(59, 61%, 31%) |
| HSV | hsv(59, 76%, 51%) |
| CMYK | cmyk(0%, 0.8%, 76%, 49.4%) |
| CIE-LAB | lab(52.07, -11.57, 49.25) |
| CIE-LCH | lch(52.07, 50.59, 103.22°) |
| OKLab | oklab(58.28% -0.0371 0.1084) |
| OKLCH | oklch(58.28% 0.115 108.9) |
| XYZ | xyz(17.0204, 20.2049, 4.2994) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.21
Shit Green
#758000
ΔE00 3.71
Poop Green
#6F7C00
ΔE00 4.75
Swamp Green
#748500
ΔE00 4.98
Murky Green
#6C7A0E
ΔE00 5.42
Olive (survey)
#6E750E
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81801F #1F2081
analogous
#814F1F #81801F #51811F
triadic
#81801F #1F8180 #801F81
tetradic
#81801F #1F814F #1F2081 #811F51
square
#81801F #1F814F #1F2081 #811F51
split-complementary
#81801F #1F5181 #4F1F81
monochromatic
#1E1E07 #504F13 #81801F #B2B12B #D3D147
Accessibility & contrast
On white
4.17
#81801F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#81801F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81801F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81801F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81801F | 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)
#8B7A0A
Deuteranopia (green-blind)
#8C7E27
Tritanopia (blue-blind)
#8B776E
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #81801f; /* rgb */ color: rgb(129, 128, 31); /* oklch */ color: oklch(58.3% 0.115 108.9);
Tailwind
colors: {
custom: {
50: '#a9a463',
500: '#81801f',
950: '#000000',
},
}SCSS
$custom: #81801f; $custom-light: #a9a463; $custom-dark: #000000;
JSON
{
"hex": "#81801f",
"rgb": {
"r": 129,
"g": 128,
"b": 31
},
"hsl": {
"h": 59.388,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.58282,
"c": 0.11452,
"h": 108.9
},
"luminance": 0.20204
}Semantic roles & 50–950 ramp
primary
#81801F
secondary
#4849B4
accent
#45E443
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A