#9B8524#9B8524
#9B8524 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 62.0% C 0.115 H 95.7°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8524 |
|---|---|
| RGB | rgb(155, 133, 36) |
| HSL | hsl(49, 62%, 37%) |
| HSV | hsv(49, 77%, 61%) |
| CMYK | cmyk(0%, 14.2%, 76.8%, 39.2%) |
| CIE-LAB | lab(55.96, -2.13, 51.95) |
| CIE-LCH | lch(55.96, 51.99, 92.35°) |
| OKLab | oklab(61.97% -0.0114 0.114) |
| OKLCH | oklch(61.97% 0.115 95.7) |
| XYZ | xyz(22.2247, 23.8722, 5.1059) |
| Luminance | 0.2387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.78
Baby Poop
#937C00
ΔE00 3.73
Dark Mustard
#A88905
ΔE00 4.08
Yellowish Brown
#9B7A01
ΔE00 4.92
Yellowy Brown
#AE8B0C
ΔE00 5.26
Baby Poo
#AB9004
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8524 #243A9B
analogous
#9B4A24 #9B8524 #759B24
triadic
#9B8524 #249B85 #85249B
tetradic
#9B8524 #249B4A #243A9B #9B2475
square
#9B8524 #249B4A #243A9B #9B2475
split-complementary
#9B8524 #24759B #4A249B
monochromatic
#38300D #695A18 #9B8524 #CDB030 #DAC35F
Accessibility & contrast
On white
3.64
#9B8524 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.77
#9B8524 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8524
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8524 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8524 | 1.00 | 3.64 | 5.77 | 5.77 |
| #FFFFFF | 3.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#A87A72
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #9b8524; /* rgb */ color: rgb(155, 133, 36); /* oklch */ color: oklch(62.0% 0.115 95.7);
Tailwind
colors: {
custom: {
50: '#bca866',
500: '#9b8524',
950: '#000000',
},
}SCSS
$custom: #9b8524; $custom-light: #bca866; $custom-dark: #000000;
JSON
{
"hex": "#9b8524",
"rgb": {
"r": 155,
"g": 133,
"b": 36
},
"hsl": {
"h": 48.908,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.61966,
"c": 0.11456,
"h": 95.7
},
"luminance": 0.23871
}Semantic roles & 50–950 ramp
primary
#9B8524
secondary
#5C6EBF
accent
#61E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A