#818111#818111
#818111 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.4% C 0.122 H 109.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #818111 |
|---|---|
| RGB | rgb(129, 129, 17) |
| HSL | hsl(60, 77%, 29%) |
| HSV | hsv(60, 87%, 51%) |
| CMYK | cmyk(0%, 0%, 86.8%, 49.4%) |
| CIE-LAB | lab(52.30, -12.64, 53.72) |
| CIE-LCH | lch(52.30, 55.18, 103.24°) |
| OKLab | oklab(58.44% -0.0412 0.1153) |
| OKLCH | oklch(58.44% 0.122 109.7) |
| XYZ | xyz(17.0054, 20.4086, 3.5737) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 0.96
Shit Green
#758000
ΔE00 3.21
Swamp Green
#748500
ΔE00 4.45
Poop Green
#6F7C00
ΔE00 4.58
Murky Green
#6C7A0E
ΔE00 5.57
Olive (survey)
#6E750E
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#818111 #111181
analogous
#814911 #818111 #498111
triadic
#818111 #118181 #811181
tetradic
#818111 #118149 #111181 #811149
square
#818111 #118149 #111181 #811149
split-complementary
#818111 #114981 #491181
monochromatic
#1B1B04 #4B4B0A #818111 #B7B718 #E3E32A
Accessibility & contrast
On white
4.13
#818111 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#818111 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #818111
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##818111 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##818111 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8D7E1D
Tritanopia (blue-blind)
#8B786E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #818111; /* rgb */ color: rgb(129, 129, 17); /* oklch */ color: oklch(58.4% 0.122 109.7);
Tailwind
colors: {
custom: {
50: '#a9a55d',
500: '#818111',
950: '#000000',
},
}SCSS
$custom: #818111; $custom-light: #a9a55d; $custom-dark: #000000;
JSON
{
"hex": "#818111",
"rgb": {
"r": 129,
"g": 129,
"b": 17
},
"hsl": {
"h": 60,
"s": 76.712,
"l": 28.627
},
"oklch": {
"l": 0.58444,
"c": 0.12239,
"h": 109.7
},
"luminance": 0.20408
}Semantic roles & 50–950 ramp
primary
#818111
secondary
#3737B7
accent
#35F335
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79