#9B9928#9B9928
#9B9928 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.130 H 108.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9928 |
|---|---|
| RGB | rgb(155, 153, 40) |
| HSL | hsl(59, 59%, 38%) |
| HSV | hsv(59, 74%, 61%) |
| CMYK | cmyk(0%, 1.3%, 74.2%, 39.2%) |
| CIE-LAB | lab(61.57, -12.76, 55.79) |
| CIE-LCH | lch(61.57, 57.23, 102.88°) |
| OKLab | oklab(66.44% -0.041 0.123) |
| OKLCH | oklch(66.44% 0.13 108.4) |
| XYZ | xyz(25.2928, 29.9050, 6.4470) |
| Luminance | 0.2990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.02
Baby Poop Green
#8F9805
ΔE00 3.36
Vomit
#A2A415
ΔE00 3.97
Baby Shit Green
#889717
ΔE00 4.66
Puke
#A5A502
ΔE00 4.72
Pea Soup Green
#94A617
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9928 #282A9B
analogous
#9B6028 #9B9928 #639B28
triadic
#9B9928 #289B99 #99289B
tetradic
#9B9928 #289B60 #282A9B #9B2863
square
#9B9928 #289B60 #282A9B #9B2863
split-complementary
#9B9928 #28639B #60289B
monochromatic
#3A390F #6A691B #9B9928 #CBC835 #D7D666
Accessibility & contrast
On white
3.01
#9B9928 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.98
#9B9928 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9928
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9928 | 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)
#A69311
Deuteranopia (green-blind)
#A89631
Tritanopia (blue-blind)
#A68F83
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #9b9928; /* rgb */ color: rgb(155, 153, 40); /* oklch */ color: oklch(66.4% 0.130 108.4);
Tailwind
colors: {
custom: {
50: '#bcb66b',
500: '#9b9928',
950: '#000000',
},
}SCSS
$custom: #9b9928; $custom-light: #bcb66b; $custom-dark: #000000;
JSON
{
"hex": "#9b9928",
"rgb": {
"r": 155,
"g": 153,
"b": 40
},
"hsl": {
"h": 58.957,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.66435,
"c": 0.1296,
"h": 108.4
},
"luminance": 0.29904
}Semantic roles & 50–950 ramp
primary
#9B9928
secondary
#6163BD
accent
#48E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A