#818124#818124
#818124 is a mid, moderate yellow. Relative luminance 0.205; OKLCH L 58.6% C 0.112 H 109.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #818124 |
|---|---|
| RGB | rgb(129, 129, 36) |
| HSL | hsl(60, 56%, 32%) |
| HSV | hsv(60, 72%, 51%) |
| CMYK | cmyk(0%, 0%, 72.1%, 49.4%) |
| CIE-LAB | lab(52.39, -11.86, 47.67) |
| CIE-LCH | lch(52.39, 49.13, 103.97°) |
| OKLab | oklab(58.55% -0.0374 0.106) |
| OKLCH | oklch(58.55% 0.112 109.4) |
| XYZ | xyz(17.2226, 20.4955, 4.7175) |
| Luminance | 0.2049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.76
Shit Green
#758000
ΔE00 3.81
Poop Green
#6F7C00
ΔE00 4.86
Swamp Green
#748500
ΔE00 4.88
Drab
#828344
ΔE00 5.07
Murky Green
#6C7A0E
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#818124 #242481
analogous
#815324 #818124 #538124
triadic
#818124 #248181 #812481
tetradic
#818124 #248153 #242481 #812453
square
#818124 #248153 #242481 #812453
split-complementary
#818124 #245381 #532481
monochromatic
#212109 #515117 #818124 #B1B131 #CECE51
Accessibility & contrast
On white
4.12
#818124 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#818124 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #818124
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##818124 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##818124 | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B14
Deuteranopia (green-blind)
#8D7E2B
Tritanopia (blue-blind)
#8A796F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #818124; /* rgb */ color: rgb(129, 129, 36); /* oklch */ color: oklch(58.6% 0.112 109.4);
Tailwind
colors: {
custom: {
50: '#a8a565',
500: '#818124',
950: '#000000',
},
}SCSS
$custom: #818124; $custom-light: #a8a565; $custom-dark: #000000;
JSON
{
"hex": "#818124",
"rgb": {
"r": 129,
"g": 129,
"b": 36
},
"hsl": {
"h": 60,
"s": 56.364,
"l": 32.353
},
"oklch": {
"l": 0.58552,
"c": 0.11236,
"h": 109.4
},
"luminance": 0.20495
}Semantic roles & 50–950 ramp
primary
#818124
secondary
#4E4EB2
accent
#48E048
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A