#9D9752#9D9752
#9D9752 is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.6% C 0.091 H 104.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9D9752 |
|---|---|
| RGB | rgb(157, 151, 82) |
| HSL | hsl(55, 31%, 47%) |
| HSV | hsv(55, 48%, 62%) |
| CMYK | cmyk(0%, 3.8%, 47.8%, 38.4%) |
| CIE-LAB | lab(61.58, -7.76, 36.92) |
| CIE-LCH | lch(61.58, 37.73, 101.88°) |
| OKLab | oklab(66.61% -0.0223 0.0883) |
| OKLCH | oklch(66.61% 0.091 104.2) |
| XYZ | xyz(26.4949, 29.9113, 12.3588) |
| Luminance | 0.2991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.62
Khaki (survey)
#AAA662
ΔE00 4.63
Moss Green
#8A9A5B
ΔE00 6.87
Dark Sand
#A88F59
ΔE00 7.52
Drab
#828344
ΔE00 7.82
Camo
#7F8F4E
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D9752 #52589D
analogous
#9D7252 #9D9752 #7E9D52
triadic
#9D9752 #529D97 #97529D
tetradic
#9D9752 #529D72 #52589D #9D527E
square
#9D9752 #529D72 #52589D #9D527E
split-complementary
#9D9752 #527E9D #72529D
monochromatic
#4D4A28 #75703D #9D9752 #B7B275 #CCC89D
Accessibility & contrast
On white
3.01
#9D9752 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#9D9752 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D9752
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D9752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D9752 | 1.00 | 3.01 | 6.98 | 6.98 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2934C
Deuteranopia (green-blind)
#A49655
Tritanopia (blue-blind)
#A78F87
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9d9752; /* rgb */ color: rgb(157, 151, 82); /* oklch */ color: oklch(66.6% 0.091 104.2);
Tailwind
colors: {
custom: {
50: '#bbb584',
500: '#9d9752',
950: '#000000',
},
}SCSS
$custom: #9d9752; $custom-light: #bbb584; $custom-dark: #000000;
JSON
{
"hex": "#9d9752",
"rgb": {
"r": 157,
"g": 151,
"b": 82
},
"hsl": {
"h": 55.2,
"s": 31.381,
"l": 46.863
},
"oklch": {
"l": 0.66608,
"c": 0.09103,
"h": 104.2
},
"luminance": 0.29911
}Semantic roles & 50–950 ramp
primary
#9D9752
secondary
#9295B9
accent
#68C860
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12110B
muted
#81807C