#9C8F4F#9C8F4F
#9C8F4F is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.7% C 0.086 H 98.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8F4F |
|---|---|
| RGB | rgb(156, 143, 79) |
| HSL | hsl(50, 33%, 46%) |
| HSV | hsv(50, 49%, 61%) |
| CMYK | cmyk(0%, 8.3%, 49.4%, 38.8%) |
| CIE-LAB | lab(59.23, -4.15, 35.59) |
| CIE-LCH | lch(59.23, 35.83, 96.65°) |
| OKLab | oklab(64.71% -0.0121 0.0851) |
| OKLCH | oklch(64.71% 0.086 98.1) |
| XYZ | xyz(24.9448, 27.2783, 11.3469) |
| Luminance | 0.2728 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.27
Dark Sand
#A88F59
ΔE00 5.06
Dark Beige
#AC9362
ΔE00 6.27
Drab
#828344
ΔE00 7.02
Khaki (survey)
#AAA662
ΔE00 7.34
Dust
#B2996E
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8F4F #4F5C9C
analogous
#9C684F #9C8F4F #829C4F
triadic
#9C8F4F #4F9C8F #8F4F9C
tetradic
#9C8F4F #4F9C68 #4F5C9C #9C4F82
square
#9C8F4F #4F9C68 #4F5C9C #9C4F82
split-complementary
#9C8F4F #4F829C #684F9C
monochromatic
#4B4526 #736A3A #9C8F4F #B7AB71 #CCC39A
Accessibility & contrast
On white
3.25
#9C8F4F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#9C8F4F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8F4F
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8F4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8F4F | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8C4A
Deuteranopia (green-blind)
#9E9152
Tritanopia (blue-blind)
#A68780
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9c8f4f; /* rgb */ color: rgb(156, 143, 79); /* oklch */ color: oklch(64.7% 0.086 98.1);
Tailwind
colors: {
custom: {
50: '#bbaf82',
500: '#9c8f4f',
950: '#000000',
},
}SCSS
$custom: #9c8f4f; $custom-light: #bbaf82; $custom-dark: #000000;
JSON
{
"hex": "#9c8f4f",
"rgb": {
"r": 156,
"g": 143,
"b": 79
},
"hsl": {
"h": 49.87,
"s": 32.766,
"l": 46.078
},
"oklch": {
"l": 0.64713,
"c": 0.08596,
"h": 98.1
},
"luminance": 0.27277
}Semantic roles & 50–950 ramp
primary
#9C8F4F
secondary
#8E95B8
accent
#71C95F
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C