#818116#818116
#818116 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.120 H 109.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #818116 |
|---|---|
| RGB | rgb(129, 129, 22) |
| HSL | hsl(60, 71%, 30%) |
| HSV | hsv(60, 83%, 51%) |
| CMYK | cmyk(0%, 0%, 82.9%, 49.4%) |
| CIE-LAB | lab(52.32, -12.48, 52.41) |
| CIE-LCH | lch(52.32, 53.87, 103.40°) |
| OKLab | oklab(58.47% -0.0404 0.1133) |
| OKLCH | oklch(58.47% 0.12 109.6) |
| XYZ | xyz(17.0490, 20.4261, 3.8035) |
| Luminance | 0.2043 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.33
Shit Green
#758000
ΔE00 3.26
Swamp Green
#748500
ΔE00 4.47
Poop Green
#6F7C00
ΔE00 4.57
Murky Green
#6C7A0E
ΔE00 5.48
Olive (survey)
#6E750E
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#818116 #161681
analogous
#814C16 #818116 #4C8116
triadic
#818116 #168181 #811681
tetradic
#818116 #16814C #161681 #81164C
square
#818116 #16814C #161681 #81164C
split-complementary
#818116 #164C81 #4C1681
monochromatic
#1A1A04 #4D4D0D #818116 #B5B51F #DDDD35
Accessibility & contrast
On white
4.13
#818116 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#818116 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #818116
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##818116 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##818116 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8D7E20
Tritanopia (blue-blind)
#8B786E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #818116; /* rgb */ color: rgb(129, 129, 22); /* oklch */ color: oklch(58.5% 0.120 109.6);
Tailwind
colors: {
custom: {
50: '#a9a55f',
500: '#818116',
950: '#000000',
},
}SCSS
$custom: #818116; $custom-light: #a9a55f; $custom-dark: #000000;
JSON
{
"hex": "#818116",
"rgb": {
"r": 129,
"g": 129,
"b": 22
},
"hsl": {
"h": 60,
"s": 70.861,
"l": 29.608
},
"oklch": {
"l": 0.58465,
"c": 0.12032,
"h": 109.6
},
"luminance": 0.20426
}Semantic roles & 50–950 ramp
primary
#818116
secondary
#3D3DB6
accent
#3AEE3A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79