#8C8A4B#8C8A4B
#8C8A4B is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.085 H 107.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8C8A4B |
|---|---|
| RGB | rgb(140, 138, 75) |
| HSL | hsl(58, 30%, 42%) |
| HSV | hsv(58, 46%, 55%) |
| CMYK | cmyk(0%, 1.4%, 46.4%, 45.1%) |
| CIE-LAB | lab(56.35, -8.74, 33.84) |
| CIE-LCH | lch(56.35, 34.95, 104.48°) |
| OKLab | oklab(62.07% -0.0248 0.0811) |
| OKLCH | oklch(62.07% 0.085 107) |
| XYZ | xyz(21.1741, 24.2609, 10.2227) |
| Luminance | 0.2426 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.95
Dark Khaki
#9B8F55
ΔE00 4.32
Camo
#7F8F4E
ΔE00 5.38
Moss Green
#8A9A5B
ΔE00 6.91
Khaki Green
#728639
ΔE00 7.15
Olive
#808000
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8C8A4B #4B4D8C
analogous
#8C6A4B #8C8A4B #6E8C4B
triadic
#8C8A4B #4B8C8A #8A4B8C
tetradic
#8C8A4B #4B8C6A #4B4D8C #8C4B6E
square
#8C8A4B #4B8C6A #4B4D8C #8C4B6E
split-complementary
#8C8A4B #4B6E8C #6A4B8C
monochromatic
#3C3B20 #646336 #8C8A4B #ADAB67 #C3C18F
Accessibility & contrast
On white
3.59
#8C8A4B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#8C8A4B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8C8A4B
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8C8A4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8C8A4B | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938646
Deuteranopia (green-blind)
#95884E
Tritanopia (blue-blind)
#94837B
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #8c8a4b; /* rgb */ color: rgb(140, 138, 75); /* oklch */ color: oklch(62.1% 0.085 107.0);
Tailwind
colors: {
custom: {
50: '#afac7f',
500: '#8c8a4b',
950: '#000000',
},
}SCSS
$custom: #8c8a4b; $custom-light: #afac7f; $custom-dark: #000000;
JSON
{
"hex": "#8c8a4b",
"rgb": {
"r": 140,
"g": 138,
"b": 75
},
"hsl": {
"h": 58.154,
"s": 30.233,
"l": 42.157
},
"oklch": {
"l": 0.62065,
"c": 0.08483,
"h": 107
},
"luminance": 0.2426
}Semantic roles & 50–950 ramp
primary
#8C8A4B
secondary
#8485AF
accent
#64C661
background
#FAFAF7
surface
#F5F4EE
border
#CFCEC9
text
#10100A
muted
#7F7F7C