#9B9323#9B9323
#9B9323 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.1% C 0.127 H 105.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9323 |
|---|---|
| RGB | rgb(155, 147, 35) |
| HSL | hsl(56, 63%, 37%) |
| HSV | hsv(56, 77%, 61%) |
| CMYK | cmyk(0%, 5.2%, 77.4%, 39.2%) |
| CIE-LAB | lab(59.85, -9.80, 55.92) |
| CIE-LCH | lch(59.85, 56.77, 99.94°) |
| OKLab | oklab(65.05% -0.0331 0.1223) |
| OKLCH | oklch(65.05% 0.127 105.2) |
| XYZ | xyz(24.2557, 27.9583, 5.7086) |
| Luminance | 0.2796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.43
Baby Poop Green
#8F9805
ΔE00 4.72
Vomit
#A2A415
ΔE00 5.81
Baby Poo
#AB9004
ΔE00 5.91
Baby Shit Green
#889717
ΔE00 6.05
Puke
#A5A502
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9323 #232B9B
analogous
#9B5723 #9B9323 #679B23
triadic
#9B9323 #239B93 #93239B
tetradic
#9B9323 #239B57 #232B9B #9B2367
square
#9B9323 #239B57 #232B9B #9B2367
split-complementary
#9B9323 #23679B #57239B
monochromatic
#37340C #696418 #9B9323 #CDC22E #DBD25E
Accessibility & contrast
On white
3.19
#9B9323 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#9B9323 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9323
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9323 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9323 | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08E08
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#A7897E
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #9b9323; /* rgb */ color: rgb(155, 147, 35); /* oklch */ color: oklch(65.1% 0.127 105.2);
Tailwind
colors: {
custom: {
50: '#bcb268',
500: '#9b9323',
950: '#000000',
},
}SCSS
$custom: #9b9323; $custom-light: #bcb268; $custom-dark: #000000;
JSON
{
"hex": "#9b9323",
"rgb": {
"r": 155,
"g": 147,
"b": 35
},
"hsl": {
"h": 56,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.65054,
"c": 0.12667,
"h": 105.2
},
"luminance": 0.27957
}Semantic roles & 50–950 ramp
primary
#9B9323
secondary
#5A61BF
accent
#4DE642
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121007
muted
#817F7A