#818518#818518
#818518 is a mid, vivid yellow. Relative luminance 0.215; OKLCH L 59.4% C 0.124 H 111.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #818518 |
|---|---|
| RGB | rgb(129, 133, 24) |
| HSL | hsl(62, 69%, 31%) |
| HSV | hsv(62, 82%, 52%) |
| CMYK | cmyk(3%, 0%, 82%, 47.8%) |
| CIE-LAB | lab(53.50, -14.55, 52.86) |
| CIE-LCH | lch(53.50, 54.83, 105.39°) |
| OKLab | oklab(59.42% -0.046 0.1147) |
| OKLCH | oklch(59.42% 0.124 111.8) |
| XYZ | xyz(17.6063, 21.5086, 4.0881) |
| Luminance | 0.2151 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.39
Shit Green
#758000
ΔE00 3.10
Swamp Green
#748500
ΔE00 3.47
Poop Green
#6F7C00
ΔE00 4.77
Murky Green
#6C7A0E
ΔE00 5.75
Dark Yellow Green
#728F02
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#818518 #1C1885
analogous
#855218 #818518 #4A8518
triadic
#818518 #188185 #851881
tetradic
#818518 #188552 #1C1885 #85184A
square
#818518 #188552 #1C1885 #85184A
split-complementary
#818518 #184A85 #521885
monochromatic
#1C1D05 #4F510F #818518 #B3B921 #D6DC3C
Accessibility & contrast
On white
3.96
#818518 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#818518 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #818518
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##818518 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##818518 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#908122
Tritanopia (blue-blind)
#8A7C71
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #818518; /* rgb */ color: rgb(129, 133, 24); /* oklch */ color: oklch(59.4% 0.124 111.8);
Tailwind
colors: {
custom: {
50: '#a9a860',
500: '#818518',
950: '#000000',
},
}SCSS
$custom: #818518; $custom-light: #a9a860; $custom-dark: #000000;
JSON
{
"hex": "#818518",
"rgb": {
"r": 129,
"g": 133,
"b": 24
},
"hsl": {
"h": 62.202,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.59417,
"c": 0.12357,
"h": 111.8
},
"luminance": 0.21508
}Semantic roles & 50–950 ramp
primary
#818518
secondary
#4440B9
accent
#3CEC42
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A