#8A8F4E#8A8F4E
#8A8F4E is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.1% C 0.088 H 112.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8F4E |
|---|---|
| RGB | rgb(138, 143, 78) |
| HSL | hsl(65, 29%, 43%) |
| HSV | hsv(65, 45%, 56%) |
| CMYK | cmyk(3.5%, 0%, 45.5%, 43.9%) |
| CIE-LAB | lab(57.65, -11.98, 33.83) |
| CIE-LCH | lch(57.65, 35.89, 109.50°) |
| OKLab | oklab(63.08% -0.0337 0.0813) |
| OKLCH | oklch(63.08% 0.088 112.5) |
| XYZ | xyz(21.6791, 25.5986, 11.0052) |
| Luminance | 0.2560 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Camo
#7F8F4E
ΔE00 3.27
Drab
#828344
ΔE00 4.23
Moss Green
#8A9A5B
ΔE00 4.50
Dark Khaki
#9B8F55
ΔE00 5.80
Khaki Green
#728639
ΔE00 6.19
Drab Green
#749551
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8F4E #534E8F
analogous
#8F734E #8A8F4E #698F4E
triadic
#8A8F4E #4E8A8F #8F4E8A
tetradic
#8A8F4E #4E8F73 #534E8F #8F4E69
square
#8A8F4E #4E8F73 #534E8F #8F4E69
split-complementary
#8A8F4E #4E698F #734E8F
monochromatic
#3E4023 #646738 #8A8F4E #A9AF6C #C0C493
Accessibility & contrast
On white
3.43
#8A8F4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#8A8F4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8F4E
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8F4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8F4E | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#988B51
Tritanopia (blue-blind)
#918880
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #8a8f4e; /* rgb */ color: rgb(138, 143, 78); /* oklch */ color: oklch(63.1% 0.088 112.5);
Tailwind
colors: {
custom: {
50: '#adaf81',
500: '#8a8f4e',
950: '#000000',
},
}SCSS
$custom: #8a8f4e; $custom-light: #adaf81; $custom-dark: #000000;
JSON
{
"hex": "#8a8f4e",
"rgb": {
"r": 138,
"g": 143,
"b": 78
},
"hsl": {
"h": 64.615,
"s": 29.412,
"l": 43.333
},
"oklch": {
"l": 0.63077,
"c": 0.08803,
"h": 112.5
},
"luminance": 0.25598
}Semantic roles & 50–950 ramp
primary
#8A8F4E
secondary
#8B88B1
accent
#62C66A
background
#FAFAF7
surface
#F4F4EE
border
#CECEC9
text
#10100A
muted
#7F7F7C