#9B9422#9B9422
#9B9422 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.3% C 0.128 H 105.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9422 |
|---|---|
| RGB | rgb(155, 148, 34) |
| HSL | hsl(57, 64%, 37%) |
| HSV | hsv(57, 78%, 61%) |
| CMYK | cmyk(0%, 4.5%, 78.1%, 39.2%) |
| CIE-LAB | lab(60.13, -10.37, 56.51) |
| CIE-LCH | lch(60.13, 57.45, 100.40°) |
| OKLab | oklab(65.27% -0.0348 0.1233) |
| OKLCH | oklch(65.27% 0.128 105.8) |
| XYZ | xyz(24.3972, 28.2648, 5.6836) |
| Luminance | 0.2826 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 4.06
Baby Poop Green
#8F9805
ΔE00 4.38
Vomit
#A2A415
ΔE00 5.41
Baby Shit Green
#889717
ΔE00 5.76
Puke
#A5A502
ΔE00 5.89
Baby Poo
#AB9004
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9422 #22299B
analogous
#9B5822 #9B9422 #669B22
triadic
#9B9422 #229B94 #94229B
tetradic
#9B9422 #229B58 #22299B #9B2266
square
#9B9422 #229B58 #22299B #9B2266
split-complementary
#9B9422 #22669B #58229B
monochromatic
#37340C #696417 #9B9422 #CDC42D #DBD45C
Accessibility & contrast
On white
3.16
#9B9422 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#9B9422 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9422
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9422 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9422 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E04
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#A78A7F
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #9b9422; /* rgb */ color: rgb(155, 148, 34); /* oklch */ color: oklch(65.3% 0.128 105.8);
Tailwind
colors: {
custom: {
50: '#bcb367',
500: '#9b9422',
950: '#000000',
},
}SCSS
$custom: #9b9422; $custom-light: #bcb367; $custom-dark: #000000;
JSON
{
"hex": "#9b9422",
"rgb": {
"r": 155,
"g": 148,
"b": 34
},
"hsl": {
"h": 56.529,
"s": 64.021,
"l": 37.059
},
"oklch": {
"l": 0.65272,
"c": 0.12815,
"h": 105.8
},
"luminance": 0.28264
}Semantic roles & 50–950 ramp
primary
#9B9422
secondary
#595FC0
accent
#4AE741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A