#8C8122#8C8122
#8C8122 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.112 H 102.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8122 |
|---|---|
| RGB | rgb(140, 129, 34) |
| HSL | hsl(54, 61%, 34%) |
| HSV | hsv(54, 76%, 55%) |
| CMYK | cmyk(0%, 7.9%, 75.7%, 45.1%) |
| CIE-LAB | lab(53.38, -6.91, 49.74) |
| CIE-LCH | lch(53.38, 50.22, 97.91°) |
| OKLab | oklab(59.57% -0.0243 0.1095) |
| OKLCH | oklch(59.57% 0.112 102.5) |
| XYZ | xyz(18.9551, 21.3923, 4.6437) |
| Luminance | 0.2139 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.01
Baby Poop
#937C00
ΔE00 4.47
Hazel
#8E7618
ΔE00 5.37
Diarrhea
#9F8303
ΔE00 6.11
Ugly Brown
#7D7103
ΔE00 6.27
Puke Brown
#947706
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8122 #222D8C
analogous
#8C4C22 #8C8122 #628C22
triadic
#8C8122 #228C81 #81228C
tetradic
#8C8122 #228C4C #222D8C #8C2262
square
#8C8122 #228C4C #222D8C #8C2262
split-complementary
#8C8122 #22628C #4C228C
monochromatic
#2A260A #5B5416 #8C8122 #BDAE2E #D5C853
Accessibility & contrast
On white
3.98
#8C8122 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.28
#8C8122 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8122
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8122 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8122 | 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)
#8D7D10
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#97776F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8c8122; /* rgb */ color: rgb(140, 129, 34); /* oklch */ color: oklch(59.6% 0.112 102.5);
Tailwind
colors: {
custom: {
50: '#b1a565',
500: '#8c8122',
950: '#000000',
},
}SCSS
$custom: #8c8122; $custom-light: #b1a565; $custom-dark: #000000;
JSON
{
"hex": "#8c8122",
"rgb": {
"r": 140,
"g": 129,
"b": 34
},
"hsl": {
"h": 53.774,
"s": 60.92,
"l": 34.118
},
"oklch": {
"l": 0.59571,
"c": 0.1122,
"h": 102.5
},
"luminance": 0.21391
}Semantic roles & 50–950 ramp
primary
#8C8122
secondary
#515CB9
accent
#54E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A