#9B9523#9B9523
#9B9523 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.129 H 106.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9523 |
|---|---|
| RGB | rgb(155, 149, 35) |
| HSL | hsl(57, 63%, 37%) |
| HSV | hsv(57, 77%, 61%) |
| CMYK | cmyk(0%, 3.9%, 77.4%, 39.2%) |
| CIE-LAB | lab(60.41, -10.86, 56.44) |
| CIE-LCH | lch(60.41, 57.48, 100.89°) |
| OKLab | oklab(65.5% -0.0361 0.1234) |
| OKLCH | oklch(65.5% 0.129 106.3) |
| XYZ | xyz(24.5694, 28.5857, 5.8132) |
| Luminance | 0.2858 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.78
Baby Poop Green
#8F9805
ΔE00 4.11
Vomit
#A2A415
ΔE00 5.08
Baby Shit Green
#889717
ΔE00 5.50
Puke
#A5A502
ΔE00 5.61
Baby Poo
#AB9004
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9523 #23299B
analogous
#9B5923 #9B9523 #659B23
triadic
#9B9523 #239B95 #95239B
tetradic
#9B9523 #239B59 #23299B #9B2365
square
#9B9523 #239B59 #23299B #9B2365
split-complementary
#9B9523 #23659B #59239B
monochromatic
#37350C #696518 #9B9523 #CDC52E #DBD45E
Accessibility & contrast
On white
3.13
#9B9523 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#9B9523 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9523
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9523 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9523 | 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)
#A28F06
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#A78B80
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9b9523; /* rgb */ color: rgb(155, 149, 35); /* oklch */ color: oklch(65.5% 0.129 106.3);
Tailwind
colors: {
custom: {
50: '#bcb368',
500: '#9b9523',
950: '#000000',
},
}SCSS
$custom: #9b9523; $custom-light: #bcb368; $custom-dark: #000000;
JSON
{
"hex": "#9b9523",
"rgb": {
"r": 155,
"g": 149,
"b": 35
},
"hsl": {
"h": 57,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.65502,
"c": 0.12854,
"h": 106.3
},
"luminance": 0.28585
}Semantic roles & 50–950 ramp
primary
#9B9523
secondary
#5A60BF
accent
#4AE642
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A