#818115#818115
#818115 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.5% C 0.121 H 109.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #818115 |
|---|---|
| RGB | rgb(129, 129, 21) |
| HSL | hsl(60, 72%, 29%) |
| HSV | hsv(60, 84%, 51%) |
| CMYK | cmyk(0%, 0%, 83.7%, 49.4%) |
| CIE-LAB | lab(52.31, -12.51, 52.69) |
| CIE-LCH | lch(52.31, 54.15, 103.36°) |
| OKLab | oklab(58.46% -0.0405 0.1138) |
| OKLCH | oklch(58.46% 0.121 109.6) |
| XYZ | xyz(17.0395, 20.4223, 3.7536) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.25
Shit Green
#758000
ΔE00 3.24
Swamp Green
#748500
ΔE00 4.46
Poop Green
#6F7C00
ΔE00 4.57
Murky Green
#6C7A0E
ΔE00 5.50
Olive (survey)
#6E750E
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#818115 #151581
analogous
#814B15 #818115 #4B8115
triadic
#818115 #158181 #811581
tetradic
#818115 #15814B #151581 #81154B
square
#818115 #15814B #151581 #81154B
split-complementary
#818115 #154B81 #4B1581
monochromatic
#1A1A04 #4C4C0C #818115 #B6B61E #DEDE33
Accessibility & contrast
On white
4.13
#818115 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#818115 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #818115
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##818115 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##818115 | 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)
#8D7E20
Tritanopia (blue-blind)
#8B786E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #818115; /* rgb */ color: rgb(129, 129, 21); /* oklch */ color: oklch(58.5% 0.121 109.6);
Tailwind
colors: {
custom: {
50: '#a9a55f',
500: '#818115',
950: '#000000',
},
}SCSS
$custom: #818115; $custom-light: #a9a55f; $custom-dark: #000000;
JSON
{
"hex": "#818115",
"rgb": {
"r": 129,
"g": 129,
"b": 21
},
"hsl": {
"h": 60,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.58461,
"c": 0.12077,
"h": 109.6
},
"luminance": 0.20422
}Semantic roles & 50–950 ramp
primary
#818115
secondary
#3C3CB6
accent
#39EF39
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79