#8E8F56#8E8F56
#8E8F56 is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.6% C 0.078 H 109.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8E8F56 |
|---|---|
| RGB | rgb(142, 143, 86) |
| HSL | hsl(61, 25%, 45%) |
| HSV | hsv(61, 40%, 56%) |
| CMYK | cmyk(0.7%, 0%, 39.9%, 43.9%) |
| CIE-LAB | lab(58.10, -9.38, 30.20) |
| CIE-LCH | lch(58.10, 31.62, 107.25°) |
| OKLab | oklab(63.55% -0.0258 0.0736) |
| OKLCH | oklch(63.55% 0.078 109.3) |
| XYZ | xyz(22.6578, 26.0680, 12.6403) |
| Luminance | 0.2607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 4.50
Camo
#7F8F4E
ΔE00 4.61
Drab
#828344
ΔE00 4.65
Moss Green
#8A9A5B
ΔE00 5.12
Khaki Green
#728639
ΔE00 7.76
Khaki (survey)
#AAA662
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E8F56 #57568F
analogous
#8F7456 #8E8F56 #718F56
triadic
#8E8F56 #568E8F #8F568E
tetradic
#8E8F56 #568F74 #57568F #8F5671
square
#8E8F56 #568F74 #57568F #8F5671
split-complementary
#8E8F56 #56718F #74568F
monochromatic
#424328 #68693F #8E8F56 #ABAC76 #C3C39C
Accessibility & contrast
On white
3.38
#8E8F56 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.21
#8E8F56 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E8F56
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E8F56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E8F56 | 1.00 | 3.38 | 6.21 | 6.21 |
| #FFFFFF | 3.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978B52
Deuteranopia (green-blind)
#988D59
Tritanopia (blue-blind)
#958981
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #8e8f56; /* rgb */ color: rgb(142, 143, 86); /* oklch */ color: oklch(63.6% 0.078 109.3);
Tailwind
colors: {
custom: {
50: '#b0af86',
500: '#8e8f56',
950: '#000000',
},
}SCSS
$custom: #8e8f56; $custom-light: #b0af86; $custom-dark: #000000;
JSON
{
"hex": "#8e8f56",
"rgb": {
"r": 142,
"g": 143,
"b": 86
},
"hsl": {
"h": 61.053,
"s": 24.891,
"l": 44.902
},
"oklch": {
"l": 0.63552,
"c": 0.07799,
"h": 109.3
},
"luminance": 0.26068
}Semantic roles & 50–950 ramp
primary
#8E8F56
secondary
#9090B1
accent
#66C168
background
#FAFAF8
surface
#F5F4EF
border
#CFCECA
text
#11100B
muted
#807F7C