#818112#818112
#818112 is a mid, vivid yellow. Relative luminance 0.204; OKLCH L 58.4% C 0.122 H 109.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #818112 |
|---|---|
| RGB | rgb(129, 129, 18) |
| HSL | hsl(60, 76%, 29%) |
| HSV | hsv(60, 86%, 51%) |
| CMYK | cmyk(0%, 0%, 86%, 49.4%) |
| CIE-LAB | lab(52.30, -12.61, 53.47) |
| CIE-LCH | lch(52.30, 54.94, 103.27°) |
| OKLab | oklab(58.45% -0.041 0.1149) |
| OKLCH | oklch(58.45% 0.122 109.6) |
| XYZ | xyz(17.0134, 20.4118, 3.6158) |
| Luminance | 0.2041 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 1.03
Shit Green
#758000
ΔE00 3.22
Swamp Green
#748500
ΔE00 4.45
Poop Green
#6F7C00
ΔE00 4.57
Murky Green
#6C7A0E
ΔE00 5.55
Olive (survey)
#6E750E
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#818112 #121281
analogous
#814A12 #818112 #4A8112
triadic
#818112 #128181 #811281
tetradic
#818112 #12814A #121281 #81124A
square
#818112 #12814A #121281 #81124A
split-complementary
#818112 #124A81 #4A1281
monochromatic
#1B1B04 #4B4B0B #818112 #B7B719 #E2E22C
Accessibility & contrast
On white
4.13
#818112 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#818112 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #818112
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##818112 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##818112 | 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)
#8D7E1E
Tritanopia (blue-blind)
#8B786E
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #818112; /* rgb */ color: rgb(129, 129, 18); /* oklch */ color: oklch(58.4% 0.122 109.6);
Tailwind
colors: {
custom: {
50: '#a9a55d',
500: '#818112',
950: '#000000',
},
}SCSS
$custom: #818112; $custom-light: #a9a55d; $custom-dark: #000000;
JSON
{
"hex": "#818112",
"rgb": {
"r": 129,
"g": 129,
"b": 18
},
"hsl": {
"h": 60,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.58448,
"c": 0.122,
"h": 109.6
},
"luminance": 0.20411
}Semantic roles & 50–950 ramp
primary
#818112
secondary
#3838B7
accent
#36F236
background
#FAFAF5
surface
#F4F4E9
border
#CECEC5
text
#100F05
muted
#7F7F79