#9C9958#9C9958
#9C9958 is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.087 H 106.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9C9958 |
|---|---|
| RGB | rgb(156, 153, 88) |
| HSL | hsl(57, 28%, 48%) |
| HSV | hsv(57, 44%, 61%) |
| CMYK | cmyk(0%, 1.9%, 43.6%, 38.8%) |
| CIE-LAB | lab(62.13, -8.64, 34.46) |
| CIE-LCH | lch(62.13, 35.52, 104.08°) |
| OKLab | oklab(67.05% -0.0242 0.0832) |
| OKLCH | oklch(67.05% 0.087 106.2) |
| XYZ | xyz(26.8635, 30.5556, 13.7133) |
| Luminance | 0.3055 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.10
Dark Khaki
#9B8F55
ΔE00 4.20
Moss Green
#8A9A5B
ΔE00 5.78
Camo
#7F8F4E
ΔE00 7.29
Drab
#828344
ΔE00 8.02
Dark Sand
#A88F59
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C9958 #585B9C
analogous
#9C7758 #9C9958 #7D9C58
triadic
#9C9958 #589C99 #99589C
tetradic
#9C9958 #589C77 #585B9C #9C587D
square
#9C9958 #589C77 #585B9C #9C587D
split-complementary
#9C9958 #587D9C #77589C
monochromatic
#4E4C2C #757342 #9C9958 #B5B37C #CBC9A3
Accessibility & contrast
On white
2.95
#9C9958 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#9C9958 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C9958
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C9958 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C9958 | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39453
Deuteranopia (green-blind)
#A5985B
Tritanopia (blue-blind)
#A59189
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9c9958; /* rgb */ color: rgb(156, 153, 88); /* oklch */ color: oklch(67.1% 0.087 106.2);
Tailwind
colors: {
custom: {
50: '#bab688',
500: '#9c9958',
950: '#000000',
},
}SCSS
$custom: #9c9958; $custom-light: #bab688; $custom-dark: #000000;
JSON
{
"hex": "#9c9958",
"rgb": {
"r": 156,
"g": 153,
"b": 88
},
"hsl": {
"h": 57.353,
"s": 27.869,
"l": 47.843
},
"oklch": {
"l": 0.67053,
"c": 0.08665,
"h": 106.2
},
"luminance": 0.30555
}Semantic roles & 50–950 ramp
primary
#9C9958
secondary
#9798B9
accent
#68C464
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110B
muted
#81807C