#9C8E4B#9C8E4B
#9C8E4B is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.089 H 97.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8E4B |
|---|---|
| RGB | rgb(156, 142, 75) |
| HSL | hsl(50, 35%, 45%) |
| HSV | hsv(50, 52%, 61%) |
| CMYK | cmyk(0%, 9%, 51.9%, 38.8%) |
| CIE-LAB | lab(58.90, -3.98, 37.27) |
| CIE-LCH | lch(58.90, 37.49, 96.10°) |
| OKLab | oklab(64.44% -0.0121 0.0885) |
| OKLCH | oklch(64.44% 0.089 97.8) |
| XYZ | xyz(24.6541, 26.9229, 10.5532) |
| Luminance | 0.2692 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 1.95
Dark Sand
#A88F59
ΔE00 5.17
Dark Beige
#AC9362
ΔE00 6.52
Drab
#828344
ΔE00 7.06
Khaki (survey)
#AAA662
ΔE00 7.74
Diarrhea
#9F8303
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8E4B #4B599C
analogous
#9C664B #9C8E4B #819C4B
triadic
#9C8E4B #4B9C8E #8E4B9C
tetradic
#9C8E4B #4B9C66 #4B599C #9C4B81
square
#9C8E4B #4B9C66 #4B599C #9C4B81
split-complementary
#9C8E4B #4B819C #664B9C
monochromatic
#494323 #736837 #9C8E4B #B8AB6C #CCC395
Accessibility & contrast
On white
3.29
#9C8E4B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#9C8E4B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8E4B
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8E4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8E4B | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8B45
Deuteranopia (green-blind)
#9D904E
Tritanopia (blue-blind)
#A7857E
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #9c8e4b; /* rgb */ color: rgb(156, 142, 75); /* oklch */ color: oklch(64.4% 0.089 97.8);
Tailwind
colors: {
custom: {
50: '#bbae7f',
500: '#9c8e4b',
950: '#000000',
},
}SCSS
$custom: #9c8e4b; $custom-light: #bbae7f; $custom-dark: #000000;
JSON
{
"hex": "#9c8e4b",
"rgb": {
"r": 156,
"g": 142,
"b": 75
},
"hsl": {
"h": 49.63,
"s": 35.065,
"l": 45.294
},
"oklch": {
"l": 0.64436,
"c": 0.08929,
"h": 97.8
},
"luminance": 0.26922
}Semantic roles & 50–950 ramp
primary
#9C8E4B
secondary
#8A92B8
accent
#70CB5D
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C