#9B9752#9B9752
#9B9752 is a light, moderate yellow. Relative luminance 0.297; OKLCH L 66.4% C 0.091 H 105.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9752 |
|---|---|
| RGB | rgb(155, 151, 82) |
| HSL | hsl(57, 31%, 46%) |
| HSV | hsv(57, 47%, 61%) |
| CMYK | cmyk(0%, 2.6%, 47.1%, 39.2%) |
| CIE-LAB | lab(61.40, -8.62, 36.67) |
| CIE-LCH | lch(61.40, 37.67, 103.23°) |
| OKLab | oklab(66.43% -0.0246 0.0877) |
| OKLCH | oklch(66.43% 0.091 105.7) |
| XYZ | xyz(26.1077, 29.7117, 12.3407) |
| Luminance | 0.2971 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 3.93
Khaki (survey)
#AAA662
ΔE00 4.71
Moss Green
#8A9A5B
ΔE00 6.25
Camo
#7F8F4E
ΔE00 7.30
Drab
#828344
ΔE00 7.53
Dark Sand
#A88F59
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9752 #52569B
analogous
#9B7352 #9B9752 #7B9B52
triadic
#9B9752 #529B97 #97529B
tetradic
#9B9752 #529B73 #52569B #9B527B
square
#9B9752 #529B73 #52569B #9B527B
split-complementary
#9B9752 #527B9B #73529B
monochromatic
#4B4928 #73703D #9B9752 #B6B274 #CBC89D
Accessibility & contrast
On white
3.02
#9B9752 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.94
#9B9752 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9752
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9752 | 1.00 | 3.02 | 6.94 | 6.94 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A1924C
Deuteranopia (green-blind)
#A39655
Tritanopia (blue-blind)
#A48F87
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #9b9752; /* rgb */ color: rgb(155, 151, 82); /* oklch */ color: oklch(66.4% 0.091 105.7);
Tailwind
colors: {
custom: {
50: '#bab584',
500: '#9b9752',
950: '#000000',
},
}SCSS
$custom: #9b9752; $custom-light: #bab584; $custom-dark: #000000;
JSON
{
"hex": "#9b9752",
"rgb": {
"r": 155,
"g": 151,
"b": 82
},
"hsl": {
"h": 56.712,
"s": 30.802,
"l": 46.471
},
"oklch": {
"l": 0.66428,
"c": 0.09112,
"h": 105.7
},
"luminance": 0.29711
}Semantic roles & 50–950 ramp
primary
#9B9752
secondary
#9193B8
accent
#66C761
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#12110B
muted
#81807C