#8C8121#8C8121
#8C8121 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.113 H 102.6°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8121 |
|---|---|
| RGB | rgb(140, 129, 33) |
| HSL | hsl(54, 62%, 34%) |
| HSV | hsv(54, 76%, 55%) |
| CMYK | cmyk(0%, 7.9%, 76.4%, 45.1%) |
| CIE-LAB | lab(53.37, -6.96, 50.10) |
| CIE-LCH | lch(53.37, 50.59, 97.91°) |
| OKLab | oklab(59.56% -0.0245 0.1101) |
| OKLCH | oklch(59.56% 0.113 102.6) |
| XYZ | xyz(18.9408, 21.3866, 4.5689) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.95
Baby Poop
#937C00
ΔE00 4.42
Hazel
#8E7618
ΔE00 5.38
Diarrhea
#9F8303
ΔE00 6.07
Ugly Brown
#7D7103
ΔE00 6.25
Puke Brown
#947706
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8121 #212C8C
analogous
#8C4C21 #8C8121 #628C21
triadic
#8C8121 #218C81 #81218C
tetradic
#8C8121 #218C4C #212C8C #8C2162
square
#8C8121 #218C4C #212C8C #8C2162
split-complementary
#8C8121 #21628C #4C218C
monochromatic
#29260A #5A5315 #8C8121 #BEAF2D #D6C851
Accessibility & contrast
On white
3.98
#8C8121 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#8C8121 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8121
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8121 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8121 | 1.00 | 3.98 | 5.28 | 5.28 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7D0E
Deuteranopia (green-blind)
#918228
Tritanopia (blue-blind)
#97776F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8c8121; /* rgb */ color: rgb(140, 129, 33); /* oklch */ color: oklch(59.6% 0.113 102.6);
Tailwind
colors: {
custom: {
50: '#b1a564',
500: '#8c8121',
950: '#000000',
},
}SCSS
$custom: #8c8121; $custom-light: #b1a564; $custom-dark: #000000;
JSON
{
"hex": "#8c8121",
"rgb": {
"r": 140,
"g": 129,
"b": 33
},
"hsl": {
"h": 53.832,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.59564,
"c": 0.11282,
"h": 102.6
},
"luminance": 0.21386
}Semantic roles & 50–950 ramp
primary
#8C8121
secondary
#4F5AB9
accent
#54E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A