#8E8A4E#8E8A4E
#8E8A4E is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.3% C 0.081 H 105.2°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8A4E |
|---|---|
| RGB | rgb(142, 138, 78) |
| HSL | hsl(56, 29%, 43%) |
| HSV | hsv(56, 45%, 56%) |
| CMYK | cmyk(0%, 2.8%, 45.1%, 44.3%) |
| CIE-LAB | lab(56.56, -7.56, 32.55) |
| CIE-LCH | lch(56.56, 33.42, 103.07°) |
| OKLab | oklab(62.29% -0.0213 0.0784) |
| OKLCH | oklch(62.29% 0.081 105.2) |
| XYZ | xyz(21.6194, 24.4784, 10.7922) |
| Luminance | 0.2448 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.43
Dark Khaki
#9B8F55
ΔE00 3.61
Camo
#7F8F4E
ΔE00 6.01
Moss Green
#8A9A5B
ΔE00 7.27
Khaki Green
#728639
ΔE00 7.95
Dark Sand
#A88F59
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8A4E #4E528E
analogous
#8E6A4E #8E8A4E #728E4E
triadic
#8E8A4E #4E8E8A #8A4E8E
tetradic
#8E8A4E #4E8E6A #4E528E #8E4E72
square
#8E8A4E #4E8E6A #4E528E #8E4E72
split-complementary
#8E8A4E #4E728E #6A4E8E
monochromatic
#3F3D23 #666438 #8E8A4E #AEAA6B #C4C193
Accessibility & contrast
On white
3.56
#8E8A4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#8E8A4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8A4E
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8A4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8A4E | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938649
Deuteranopia (green-blind)
#958951
Tritanopia (blue-blind)
#96837C
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8e8a4e; /* rgb */ color: rgb(142, 138, 78); /* oklch */ color: oklch(62.3% 0.081 105.2);
Tailwind
colors: {
custom: {
50: '#b0ac81',
500: '#8e8a4e',
950: '#000000',
},
}SCSS
$custom: #8e8a4e; $custom-light: #b0ac81; $custom-dark: #000000;
JSON
{
"hex": "#8e8a4e",
"rgb": {
"r": 142,
"g": 138,
"b": 78
},
"hsl": {
"h": 56.25,
"s": 29.091,
"l": 43.137
},
"oklch": {
"l": 0.62292,
"c": 0.08127,
"h": 105.2
},
"luminance": 0.24478
}Semantic roles & 50–950 ramp
primary
#8E8A4E
secondary
#888AB0
accent
#69C562
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C