#9B9527#9B9527
#9B9527 is a light, vivid yellow. Relative luminance 0.286; OKLCH L 65.5% C 0.126 H 106.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9B9527 |
|---|---|
| RGB | rgb(155, 149, 39) |
| HSL | hsl(57, 60%, 38%) |
| HSV | hsv(57, 75%, 61%) |
| CMYK | cmyk(0%, 3.9%, 74.8%, 39.2%) |
| CIE-LAB | lab(60.44, -10.69, 55.08) |
| CIE-LCH | lch(60.44, 56.10, 100.98°) |
| OKLab | oklab(65.53% -0.0353 0.1212) |
| OKLCH | oklch(65.53% 0.126 106.2) |
| XYZ | xyz(24.6322, 28.6108, 6.1440) |
| Luminance | 0.2861 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea Soup
#929901
ΔE00 3.96
Baby Poop Green
#8F9805
ΔE00 4.25
Vomit
#A2A415
ΔE00 5.23
Baby Shit Green
#889717
ΔE00 5.51
Puke
#A5A502
ΔE00 5.80
Baby Poo
#AB9004
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B9527 #272D9B
analogous
#9B5B27 #9B9527 #679B27
triadic
#9B9527 #279B95 #95279B
tetradic
#9B9527 #279B5B #272D9B #9B2767
square
#9B9527 #279B5B #272D9B #9B2767
split-complementary
#9B9527 #27679B #5B279B
monochromatic
#39370E #6A661B #9B9527 #CCC433 #D8D264
Accessibility & contrast
On white
3.12
#9B9527 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#9B9527 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B9527
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B9527 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B9527 | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 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)
#A28F11
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#A78B80
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #9b9527; /* rgb */ color: rgb(155, 149, 39); /* oklch */ color: oklch(65.5% 0.126 106.2);
Tailwind
colors: {
custom: {
50: '#bcb36a',
500: '#9b9527',
950: '#000000',
},
}SCSS
$custom: #9b9527; $custom-light: #bcb36a; $custom-dark: #000000;
JSON
{
"hex": "#9b9527",
"rgb": {
"r": 155,
"g": 149,
"b": 39
},
"hsl": {
"h": 56.897,
"s": 59.794,
"l": 38.039
},
"oklch": {
"l": 0.65527,
"c": 0.12627,
"h": 106.2
},
"luminance": 0.2861
}Semantic roles & 50–950 ramp
primary
#9B9527
secondary
#6065BE
accent
#4DE345
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A