#9A8F4E#9A8F4E
#9A8F4E is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.5% C 0.087 H 99.9°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #9A8F4E |
|---|---|
| RGB | rgb(154, 143, 78) |
| HSL | hsl(51, 33%, 45%) |
| HSV | hsv(51, 49%, 60%) |
| CMYK | cmyk(0%, 7.1%, 49.4%, 39.6%) |
| CIE-LAB | lab(59.04, -5.11, 35.83) |
| CIE-LCH | lch(59.04, 36.20, 98.12°) |
| OKLab | oklab(64.51% -0.0149 0.0856) |
| OKLCH | oklch(64.51% 0.087 99.9) |
| XYZ | xyz(24.5247, 27.0659, 11.1386) |
| Luminance | 0.2707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.50
Dark Sand
#A88F59
ΔE00 5.77
Drab
#828344
ΔE00 6.49
Dark Beige
#AC9362
ΔE00 6.94
Khaki (survey)
#AAA662
ΔE00 7.23
Camo
#7F8F4E
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A8F4E #4E599A
analogous
#9A694E #9A8F4E #7F9A4E
triadic
#9A8F4E #4E9A8F #8F4E9A
tetradic
#9A8F4E #4E9A69 #4E599A #9A4E7F
square
#9A8F4E #4E9A69 #4E599A #9A4E7F
split-complementary
#9A8F4E #4E7F9A #694E9A
monochromatic
#494425 #716939 #9A8F4E #B6AC6F #CBC398
Accessibility & contrast
On white
3.27
#9A8F4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#9A8F4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A8F4E
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A8F4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A8F4E | 1.00 | 3.27 | 6.41 | 6.41 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8C48
Deuteranopia (green-blind)
#9D9051
Tritanopia (blue-blind)
#A48780
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9a8f4e; /* rgb */ color: rgb(154, 143, 78); /* oklch */ color: oklch(64.5% 0.087 99.9);
Tailwind
colors: {
custom: {
50: '#b9af81',
500: '#9a8f4e',
950: '#000000',
},
}SCSS
$custom: #9a8f4e; $custom-light: #b9af81; $custom-dark: #000000;
JSON
{
"hex": "#9a8f4e",
"rgb": {
"r": 154,
"g": 143,
"b": 78
},
"hsl": {
"h": 51.316,
"s": 32.759,
"l": 45.49
},
"oklch": {
"l": 0.6451,
"c": 0.08687,
"h": 99.9
},
"luminance": 0.27065
}Semantic roles & 50–950 ramp
primary
#9A8F4E
secondary
#8D93B7
accent
#6EC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C