#8C8022#8C8022
#8C8022 is a mid, moderate yellow. Relative luminance 0.211; OKLCH L 59.3% C 0.111 H 101.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8022 |
|---|---|
| RGB | rgb(140, 128, 34) |
| HSL | hsl(53, 61%, 34%) |
| HSV | hsv(53, 76%, 55%) |
| CMYK | cmyk(0%, 8.6%, 75.7%, 45.1%) |
| CIE-LAB | lab(53.09, -6.36, 49.47) |
| CIE-LCH | lch(53.09, 49.87, 97.33°) |
| OKLab | oklab(59.35% -0.0227 0.109) |
| OKLCH | oklch(59.35% 0.111 101.8) |
| XYZ | xyz(18.8240, 21.1301, 4.6001) |
| Luminance | 0.2113 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poop
#937C00
ΔE00 4.18
Olive
#808000
ΔE00 4.24
Hazel
#8E7618
ΔE00 4.93
Ugly Brown
#7D7103
ΔE00 5.97
Diarrhea
#9F8303
ΔE00 5.98
Puke Brown
#947706
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8022 #222E8C
analogous
#8C4B22 #8C8022 #638C22
triadic
#8C8022 #228C80 #80228C
tetradic
#8C8022 #228C4B #222E8C #8C2263
square
#8C8022 #228C4B #222E8C #8C2263
split-complementary
#8C8022 #22638C #4B228C
monochromatic
#2A260A #5B5316 #8C8022 #BDAD2E #D5C753
Accessibility & contrast
On white
4.02
#8C8022 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#8C8022 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8022
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8022 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8022 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C11
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#97766E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8c8022; /* rgb */ color: rgb(140, 128, 34); /* oklch */ color: oklch(59.3% 0.111 101.8);
Tailwind
colors: {
custom: {
50: '#b1a464',
500: '#8c8022',
950: '#000000',
},
}SCSS
$custom: #8c8022; $custom-light: #b1a464; $custom-dark: #000000;
JSON
{
"hex": "#8c8022",
"rgb": {
"r": 140,
"g": 128,
"b": 34
},
"hsl": {
"h": 53.208,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.59345,
"c": 0.11132,
"h": 101.8
},
"luminance": 0.21129
}Semantic roles & 50–950 ramp
primary
#8C8022
secondary
#515DB9
accent
#56E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A