#8C8120#8C8120
#8C8120 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 | #8C8120 |
|---|---|
| RGB | rgb(140, 129, 32) |
| HSL | hsl(54, 63%, 34%) |
| HSV | hsv(54, 77%, 55%) |
| CMYK | cmyk(0%, 7.9%, 77.1%, 45.1%) |
| CIE-LAB | lab(53.36, -7.00, 50.46) |
| CIE-LCH | lch(53.36, 50.95, 97.90°) |
| OKLab | oklab(59.56% -0.0248 0.1107) |
| OKLCH | oklch(59.56% 0.113 102.6) |
| XYZ | xyz(18.9270, 21.3811, 4.4962) |
| Luminance | 0.2138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.90
Baby Poop
#937C00
ΔE00 4.37
Hazel
#8E7618
ΔE00 5.38
Diarrhea
#9F8303
ΔE00 6.03
Ugly Brown
#7D7103
ΔE00 6.23
Puke Brown
#947706
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8120 #202B8C
analogous
#8C4B20 #8C8120 #618C20
triadic
#8C8120 #208C81 #81208C
tetradic
#8C8120 #208C4B #202B8C #8C2061
square
#8C8120 #208C4B #202B8C #8C2061
split-complementary
#8C8120 #20618C #4B208C
monochromatic
#282509 #5A5315 #8C8120 #BEAF2B #D7C950
Accessibility & contrast
On white
3.98
#8C8120 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#8C8120 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8120
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8120 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8120 | 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)
#8D7D0C
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#97776E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8c8120; /* rgb */ color: rgb(140, 129, 32); /* oklch */ color: oklch(59.6% 0.113 102.6);
Tailwind
colors: {
custom: {
50: '#b1a564',
500: '#8c8120',
950: '#000000',
},
}SCSS
$custom: #8c8120; $custom-light: #b1a564; $custom-dark: #000000;
JSON
{
"hex": "#8c8120",
"rgb": {
"r": 140,
"g": 129,
"b": 32
},
"hsl": {
"h": 53.889,
"s": 62.791,
"l": 33.725
},
"oklch": {
"l": 0.59558,
"c": 0.11342,
"h": 102.6
},
"luminance": 0.2138
}Semantic roles & 50–950 ramp
primary
#8C8120
secondary
#4E59BA
accent
#53E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A