#9B9626#9B9626
#9B9626 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.128 H 106.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9626 |
|---|---|
| RGB | rgb(155, 150, 38) |
| HSL | hsl(57, 61%, 38%) |
| HSV | hsv(57, 75%, 61%) |
| CMYK | cmyk(0%, 3.2%, 75.5%, 39.2%) |
| CIE-LAB | lab(60.71, -11.26, 55.69) |
| CIE-LCH | lch(60.71, 56.82, 101.43°) |
| OKLab | oklab(65.75% -0.037 0.1224) |
| OKLCH | oklch(65.75% 0.128 106.8) |
| XYZ | xyz(24.7748, 28.9221, 6.1108) |
| Luminance | 0.2892 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.62
Baby Poop Green
#8F9805
ΔE00 3.93
Vomit
#A2A415
ΔE00 4.84
Baby Shit Green
#889717
ΔE00 5.26
Puke
#A5A502
ΔE00 5.44
Baby Poo
#AB9004
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9626 #262B9B
analogous
#9B5B26 #9B9626 #659B26
triadic
#9B9626 #269B96 #96269B
tetradic
#9B9626 #269B5B #262B9B #9B2665
square
#9B9626 #269B5B #262B9B #9B2665
split-complementary
#9B9626 #26659B #5B269B
monochromatic
#39370E #6A661A #9B9626 #CCC632 #D9D463
Accessibility & contrast
On white
3.10
#9B9626 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#9B9626 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9626
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9626 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9626 | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3900E
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#A78C81
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9b9626; /* rgb */ color: rgb(155, 150, 38); /* oklch */ color: oklch(65.7% 0.128 106.8);
Tailwind
colors: {
custom: {
50: '#bcb469',
500: '#9b9626',
950: '#000000',
},
}SCSS
$custom: #9b9626; $custom-light: #bcb469; $custom-dark: #000000;
JSON
{
"hex": "#9b9626",
"rgb": {
"r": 155,
"g": 150,
"b": 38
},
"hsl": {
"h": 57.436,
"s": 60.622,
"l": 37.843
},
"oklch": {
"l": 0.65745,
"c": 0.12782,
"h": 106.8
},
"luminance": 0.28921
}Semantic roles & 50–950 ramp
primary
#9B9626
secondary
#5F63BE
accent
#4BE444
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A