#9B9524#9B9524
#9B9524 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.128 H 106.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9524 |
|---|---|
| RGB | rgb(155, 149, 36) |
| HSL | hsl(57, 62%, 37%) |
| HSV | hsv(57, 77%, 61%) |
| CMYK | cmyk(0%, 3.9%, 76.8%, 39.2%) |
| CIE-LAB | lab(60.42, -10.82, 56.11) |
| CIE-LCH | lch(60.42, 57.14, 100.92°) |
| OKLab | oklab(65.51% -0.0359 0.1229) |
| OKLCH | oklch(65.51% 0.128 106.3) |
| XYZ | xyz(24.5845, 28.5917, 5.8925) |
| Luminance | 0.2859 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.82
Baby Poop Green
#8F9805
ΔE00 4.14
Vomit
#A2A415
ΔE00 5.11
Baby Shit Green
#889717
ΔE00 5.50
Puke
#A5A502
ΔE00 5.65
Baby Poo
#AB9004
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9524 #242A9B
analogous
#9B5A24 #9B9524 #659B24
triadic
#9B9524 #249B95 #95249B
tetradic
#9B9524 #249B5A #242A9B #9B2465
square
#9B9524 #249B5A #242A9B #9B2465
split-complementary
#9B9524 #24659B #5A249B
monochromatic
#38360D #696518 #9B9524 #CDC530 #DAD45F
Accessibility & contrast
On white
3.13
#9B9524 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#9B9524 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9524
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9524 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9524 | 1.00 | 3.13 | 6.72 | 6.72 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F09
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#A78B80
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9b9524; /* rgb */ color: rgb(155, 149, 36); /* oklch */ color: oklch(65.5% 0.128 106.3);
Tailwind
colors: {
custom: {
50: '#bcb368',
500: '#9b9524',
950: '#000000',
},
}SCSS
$custom: #9b9524; $custom-light: #bcb368; $custom-dark: #000000;
JSON
{
"hex": "#9b9524",
"rgb": {
"r": 155,
"g": 149,
"b": 36
},
"hsl": {
"h": 56.975,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.65508,
"c": 0.12799,
"h": 106.3
},
"luminance": 0.28591
}Semantic roles & 50–950 ramp
primary
#9B9524
secondary
#5C61BF
accent
#4BE542
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A