#9B9B2B#9B9B2B
#9B9B2B is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.9% C 0.130 H 109.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9B2B |
|---|---|
| RGB | rgb(155, 155, 43) |
| HSL | hsl(60, 57%, 39%) |
| HSV | hsv(60, 72%, 61%) |
| CMYK | cmyk(0%, 0%, 72.3%, 39.2%) |
| CIE-LAB | lab(62.16, -13.66, 55.26) |
| CIE-LCH | lch(62.16, 56.93, 103.89°) |
| OKLab | oklab(66.91% -0.0432 0.1224) |
| OKLCH | oklch(66.91% 0.13 109.4) |
| XYZ | xyz(25.6759, 30.5864, 6.8363) |
| Luminance | 0.3059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 2.96
Baby Poop Green
#8F9805
ΔE00 3.26
Vomit
#A2A415
ΔE00 3.59
Baby Shit Green
#889717
ΔE00 4.41
Puke
#A5A502
ΔE00 4.48
Pea Soup Green
#94A617
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9B2B #2B2B9B
analogous
#9B632B #9B9B2B #639B2B
triadic
#9B9B2B #2B9B9B #9B2B9B
tetradic
#9B9B2B #2B9B63 #2B2B9B #9B2B63
square
#9B9B2B #2B9B63 #2B2B9B #9B2B63
split-complementary
#9B9B2B #2B639B #632B9B
monochromatic
#3B3B10 #6B6B1E #9B9B2B #C9C93B #D6D66B
Accessibility & contrast
On white
2.95
#9B9B2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#9B9B2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9B9B2B
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9B2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9B2B | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89417
Deuteranopia (green-blind)
#A99833
Tritanopia (blue-blind)
#A69185
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #9b9b2b; /* rgb */ color: rgb(155, 155, 43); /* oklch */ color: oklch(66.9% 0.130 109.4);
Tailwind
colors: {
custom: {
50: '#bcb86c',
500: '#9b9b2b',
950: '#000000',
},
}SCSS
$custom: #9b9b2b; $custom-light: #bcb86c; $custom-dark: #000000;
JSON
{
"hex": "#9b9b2b",
"rgb": {
"r": 155,
"g": 155,
"b": 43
},
"hsl": {
"h": 60,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.66907,
"c": 0.12978,
"h": 109.4
},
"luminance": 0.30586
}Semantic roles & 50–950 ramp
primary
#9B9B2B
secondary
#6565BC
accent
#48E048
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A