#8C8A26#8C8A26
#8C8A26 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.118 H 108.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8A26 |
|---|---|
| RGB | rgb(140, 138, 38) |
| HSL | hsl(59, 57%, 35%) |
| HSV | hsv(59, 73%, 55%) |
| CMYK | cmyk(0%, 1.4%, 72.9%, 45.1%) |
| CIE-LAB | lab(55.98, -11.61, 50.72) |
| CIE-LCH | lch(55.98, 52.03, 102.89°) |
| OKLab | oklab(61.65% -0.0371 0.1124) |
| OKLCH | oklch(61.65% 0.118 108.3) |
| XYZ | xyz(20.2543, 23.8930, 5.3782) |
| Luminance | 0.2389 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.33
Baby Poop Green
#8F9805
ΔE00 5.70
Baby Shit Green
#889717
ΔE00 5.72
Pea Soup
#929901
ΔE00 5.97
Shit Green
#758000
ΔE00 5.98
Swamp Green
#748500
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8A26 #26288C
analogous
#8C5726 #8C8A26 #5B8C26
triadic
#8C8A26 #268C8A #8A268C
tetradic
#8C8A26 #268C57 #26288C #8C265B
square
#8C8A26 #268C57 #26288C #8C265B
split-complementary
#8C8A26 #265B8C #57268C
monochromatic
#2C2B0C #5C5B19 #8C8A26 #BCB933 #D2D05A
Accessibility & contrast
On white
3.63
#8C8A26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#8C8A26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8A26
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8A26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8A26 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#968414
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#968177
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #8c8a26; /* rgb */ color: rgb(140, 138, 38); /* oklch */ color: oklch(61.7% 0.118 108.3);
Tailwind
colors: {
custom: {
50: '#b1ab68',
500: '#8c8a26',
950: '#000000',
},
}SCSS
$custom: #8c8a26; $custom-light: #b1ab68; $custom-dark: #000000;
JSON
{
"hex": "#8c8a26",
"rgb": {
"r": 140,
"g": 138,
"b": 38
},
"hsl": {
"h": 58.824,
"s": 57.303,
"l": 34.902
},
"oklch": {
"l": 0.61653,
"c": 0.11836,
"h": 108.3
},
"luminance": 0.23892
}Semantic roles & 50–950 ramp
primary
#8C8A26
secondary
#5759B7
accent
#4AE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A