#9B9522#9B9522
#9B9522 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.129 H 106.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9522 |
|---|---|
| RGB | rgb(155, 149, 34) |
| HSL | hsl(57, 64%, 37%) |
| HSV | hsv(57, 78%, 61%) |
| CMYK | cmyk(0%, 3.9%, 78.1%, 39.2%) |
| CIE-LAB | lab(60.41, -10.90, 56.76) |
| CIE-LCH | lch(60.41, 57.80, 100.87°) |
| OKLab | oklab(65.5% -0.0363 0.1239) |
| OKLCH | oklch(65.5% 0.129 106.4) |
| XYZ | xyz(24.5548, 28.5799, 5.7361) |
| Luminance | 0.2858 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.74
Baby Poop Green
#8F9805
ΔE00 4.08
Vomit
#A2A415
ΔE00 5.05
Baby Shit Green
#889717
ΔE00 5.50
Puke
#A5A502
ΔE00 5.56
Baby Poo
#AB9004
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9522 #22289B
analogous
#9B5922 #9B9522 #659B22
triadic
#9B9522 #229B95 #95229B
tetradic
#9B9522 #229B59 #22289B #9B2265
square
#9B9522 #229B59 #22289B #9B2265
split-complementary
#9B9522 #22659B #59229B
monochromatic
#37350C #696517 #9B9522 #CDC52D #DBD55C
Accessibility & contrast
On white
3.13
#9B9522 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#9B9522 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9522
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9522 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9522 | 1.00 | 3.13 | 6.72 | 6.72 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F04
Deuteranopia (green-blind)
#A5942B
Tritanopia (blue-blind)
#A78B80
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9b9522; /* rgb */ color: rgb(155, 149, 34); /* oklch */ color: oklch(65.5% 0.129 106.4);
Tailwind
colors: {
custom: {
50: '#bcb367',
500: '#9b9522',
950: '#000000',
},
}SCSS
$custom: #9b9522; $custom-light: #bcb367; $custom-dark: #000000;
JSON
{
"hex": "#9b9522",
"rgb": {
"r": 155,
"g": 149,
"b": 34
},
"hsl": {
"h": 57.025,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.65496,
"c": 0.12908,
"h": 106.4
},
"luminance": 0.28579
}Semantic roles & 50–950 ramp
primary
#9B9522
secondary
#595EC0
accent
#49E741
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A