#818521#818521
#818521 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.5% C 0.119 H 111.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #818521 |
|---|---|
| RGB | rgb(129, 133, 33) |
| HSL | hsl(62, 60%, 33%) |
| HSV | hsv(62, 75%, 52%) |
| CMYK | cmyk(3%, 0%, 75.2%, 47.8%) |
| CIE-LAB | lab(53.55, -14.17, 49.93) |
| CIE-LCH | lch(53.55, 51.90, 105.84°) |
| OKLab | oklab(59.47% -0.0441 0.1102) |
| OKLCH | oklch(59.47% 0.119 111.8) |
| XYZ | xyz(17.7159, 21.5524, 4.6654) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.99
Shit Green
#758000
ΔE00 3.40
Swamp Green
#748500
ΔE00 3.72
Poop Green
#6F7C00
ΔE00 4.89
Drab
#828344
ΔE00 5.67
Murky Green
#6C7A0E
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#818521 #252185
analogous
#855721 #818521 #4F8521
triadic
#818521 #218185 #852181
tetradic
#818521 #218557 #252185 #85214F
square
#818521 #218557 #252185 #85214F
split-complementary
#818521 #214F85 #572185
monochromatic
#222309 #515415 #818521 #B1B62D #CED34D
Accessibility & contrast
On white
3.95
#818521 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#818521 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #818521
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##818521 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##818521 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#908129
Tritanopia (blue-blind)
#8A7D72
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #818521; /* rgb */ color: rgb(129, 133, 33); /* oklch */ color: oklch(59.5% 0.119 111.8);
Tailwind
colors: {
custom: {
50: '#a9a864',
500: '#818521',
950: '#000000',
},
}SCSS
$custom: #818521; $custom-light: #a9a864; $custom-dark: #000000;
JSON
{
"hex": "#818521",
"rgb": {
"r": 129,
"g": 133,
"b": 33
},
"hsl": {
"h": 62.4,
"s": 60.241,
"l": 32.549
},
"oklch": {
"l": 0.5947,
"c": 0.11867,
"h": 111.8
},
"luminance": 0.21552
}Semantic roles & 50–950 ramp
primary
#818521
secondary
#504CB6
accent
#44E34B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A