#9B9530#9B9530
#9B9530 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.6% C 0.120 H 105.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9530 |
|---|---|
| RGB | rgb(155, 149, 48) |
| HSL | hsl(57, 53%, 40%) |
| HSV | hsv(57, 69%, 61%) |
| CMYK | cmyk(0%, 3.9%, 69%, 39.2%) |
| CIE-LAB | lab(60.50, -10.22, 51.67) |
| CIE-LCH | lch(60.50, 52.68, 101.19°) |
| OKLab | oklab(65.59% -0.033 0.1157) |
| OKLCH | oklch(65.59% 0.12 105.9) |
| XYZ | xyz(24.7995, 28.6777, 7.0248) |
| Luminance | 0.2868 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.57
Baby Poop Green
#8F9805
ΔE00 4.76
Baby Shit Green
#889717
ΔE00 5.69
Vomit
#A2A415
ΔE00 5.73
Puke
#A5A502
ΔE00 6.39
Baby Poo
#AB9004
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9530 #30369B
analogous
#9B6030 #9B9530 #6B9B30
triadic
#9B9530 #309B95 #95309B
tetradic
#9B9530 #309B60 #30369B #9B306B
square
#9B9530 #309B60 #30369B #9B306B
split-complementary
#9B9530 #306B9B #60309B
monochromatic
#3E3B13 #6C6822 #9B9530 #C5BE43 #D3CE72
Accessibility & contrast
On white
3.12
#9B9530 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#9B9530 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9530
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9530 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9530 | 1.00 | 3.12 | 6.74 | 6.74 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F21
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#A68B81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9b9530; /* rgb */ color: rgb(155, 149, 48); /* oklch */ color: oklch(65.6% 0.120 105.9);
Tailwind
colors: {
custom: {
50: '#bcb36e',
500: '#9b9530',
950: '#000000',
},
}SCSS
$custom: #9b9530; $custom-light: #bcb36e; $custom-dark: #000000;
JSON
{
"hex": "#9b9530",
"rgb": {
"r": 155,
"g": 149,
"b": 48
},
"hsl": {
"h": 56.636,
"s": 52.709,
"l": 39.804
},
"oklch": {
"l": 0.65594,
"c": 0.12032,
"h": 105.9
},
"luminance": 0.28677
}Semantic roles & 50–950 ramp
primary
#9B9530
secondary
#6C70BB
accent
#54DC4C
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121108
muted
#81807B