#9B9121#9B9121
#9B9121 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.126 H 104.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9121 |
|---|---|
| RGB | rgb(155, 145, 33) |
| HSL | hsl(55, 65%, 37%) |
| HSV | hsv(55, 79%, 61%) |
| CMYK | cmyk(0%, 6.5%, 78.7%, 39.2%) |
| CIE-LAB | lab(59.28, -8.81, 56.07) |
| CIE-LCH | lch(59.28, 56.75, 98.93°) |
| OKLab | oklab(64.6% -0.0305 0.1222) |
| OKLCH | oklch(64.6% 0.126 104) |
| XYZ | xyz(23.9186, 27.3302, 5.4539) |
| Luminance | 0.2733 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 5.08
Baby Poop Green
#8F9805
ΔE00 5.35
Baby Poo
#AB9004
ΔE00 5.38
Baby Shit Brown
#AD900D
ΔE00 5.87
Brown Yellow
#B29705
ΔE00 6.18
Vomit
#A2A415
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9121 #212B9B
analogous
#9B5421 #9B9121 #689B21
triadic
#9B9121 #219B91 #91219B
tetradic
#9B9121 #219B54 #212B9B #9B2168
square
#9B9121 #219B54 #212B9B #9B2168
split-complementary
#9B9121 #21689B #54219B
monochromatic
#36330C #696216 #9B9121 #CDC02C #DCD15A
Accessibility & contrast
On white
3.25
#9B9121 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#9B9121 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9121
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9121 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9121 | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C04
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#A7867C
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #9b9121; /* rgb */ color: rgb(155, 145, 33); /* oklch */ color: oklch(64.6% 0.126 104.0);
Tailwind
colors: {
custom: {
50: '#bcb066',
500: '#9b9121',
950: '#000000',
},
}SCSS
$custom: #9b9121; $custom-light: #bcb066; $custom-dark: #000000;
JSON
{
"hex": "#9b9121",
"rgb": {
"r": 155,
"g": 145,
"b": 33
},
"hsl": {
"h": 55.082,
"s": 64.894,
"l": 36.863
},
"oklch": {
"l": 0.64595,
"c": 0.12593,
"h": 104
},
"luminance": 0.27329
}Semantic roles & 50–950 ramp
primary
#9B9121
secondary
#5860C0
accent
#4EE840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A