#81861A#81861A
#81861A is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.7% C 0.124 H 112.4°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #81861A |
|---|---|
| RGB | rgb(129, 134, 26) |
| HSL | hsl(63, 68%, 31%) |
| HSV | hsv(63, 81%, 53%) |
| CMYK | cmyk(3.7%, 0%, 80.6%, 47.5%) |
| CIE-LAB | lab(53.81, -15.01, 52.52) |
| CIE-LCH | lch(53.81, 54.63, 105.95°) |
| OKLab | oklab(59.66% -0.0471 0.1144) |
| OKLCH | oklch(59.66% 0.124 112.4) |
| XYZ | xyz(17.7654, 21.7923, 4.2476) |
| Luminance | 0.2179 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.81
Shit Green
#758000
ΔE00 3.23
Swamp Green
#748500
ΔE00 3.34
Poop Green
#6F7C00
ΔE00 4.92
Dark Yellow Green
#728F02
ΔE00 5.87
Murky Green
#6C7A0E
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#81861A #1F1A86
analogous
#86551A #81861A #4B861A
triadic
#81861A #1A8186 #861A81
tetradic
#81861A #1A8655 #1F1A86 #861A4B
square
#81861A #1A8655 #1F1A86 #861A4B
split-complementary
#81861A #1A4B86 #551A86
monochromatic
#1E1F06 #505310 #81861A #B2B924 #D3DA40
Accessibility & contrast
On white
3.92
#81861A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#81861A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #81861A
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##81861A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##81861A | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#917F00
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#8A7D72
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #81861a; /* rgb */ color: rgb(129, 134, 26); /* oklch */ color: oklch(59.7% 0.124 112.4);
Tailwind
colors: {
custom: {
50: '#a9a961',
500: '#81861a',
950: '#000000',
},
}SCSS
$custom: #81861a; $custom-light: #a9a961; $custom-dark: #000000;
JSON
{
"hex": "#81861a",
"rgb": {
"r": 129,
"g": 134,
"b": 26
},
"hsl": {
"h": 62.778,
"s": 67.5,
"l": 31.373
},
"oklch": {
"l": 0.59664,
"c": 0.12367,
"h": 112.4
},
"luminance": 0.21792
}Semantic roles & 50–950 ramp
primary
#81861A
secondary
#4842B9
accent
#3DEA45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A