#9B8124#9B8124
#9B8124 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 61.1% C 0.112 H 92.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8124 |
|---|---|
| RGB | rgb(155, 129, 36) |
| HSL | hsl(47, 62%, 37%) |
| HSV | hsv(47, 77%, 61%) |
| CMYK | cmyk(0%, 16.8%, 76.8%, 39.2%) |
| CIE-LAB | lab(54.86, 0.09, 50.91) |
| CIE-LCH | lch(54.86, 50.91, 89.90°) |
| OKLab | oklab(61.1% -0.0051 0.1118) |
| OKLCH | oklch(61.1% 0.112 92.6) |
| XYZ | xyz(21.6875, 22.7977, 4.9268) |
| Luminance | 0.2280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 2.78
Baby Poop
#937C00
ΔE00 3.27
Yellowish Brown
#9B7A01
ΔE00 3.48
Puke Brown
#947706
ΔE00 3.92
Hazel
#8E7618
ΔE00 4.36
Dark Mustard
#A88905
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8124 #243E9B
analogous
#9B4624 #9B8124 #799B24
triadic
#9B8124 #249B81 #81249B
tetradic
#9B8124 #249B46 #243E9B #9B2479
square
#9B8124 #249B46 #243E9B #9B2479
split-complementary
#9B8124 #24799B #46249B
monochromatic
#382E0D #695818 #9B8124 #CDAA30 #DABF5F
Accessibility & contrast
On white
3.78
#9B8124 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#9B8124 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8124
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8124 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8124 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#A8766F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9b8124; /* rgb */ color: rgb(155, 129, 36); /* oklch */ color: oklch(61.1% 0.112 92.6);
Tailwind
colors: {
custom: {
50: '#bca566',
500: '#9b8124',
950: '#000000',
},
}SCSS
$custom: #9b8124; $custom-light: #bca566; $custom-dark: #000000;
JSON
{
"hex": "#9b8124",
"rgb": {
"r": 155,
"g": 129,
"b": 36
},
"hsl": {
"h": 46.891,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.611,
"c": 0.11191,
"h": 92.6
},
"luminance": 0.22796
}Semantic roles & 50–950 ramp
primary
#9B8124
secondary
#5C72BF
accent
#66E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A