#9B8328#9B8328
#9B8328 is a mid, moderate yellow. Relative luminance 0.234; OKLCH L 61.6% C 0.111 H 93.8°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9B8328 |
|---|---|
| RGB | rgb(155, 131, 40) |
| HSL | hsl(47, 59%, 38%) |
| HSV | hsv(47, 74%, 61%) |
| CMYK | cmyk(0%, 15.5%, 74.2%, 39.2%) |
| CIE-LAB | lab(55.44, -0.84, 49.89) |
| CIE-LCH | lch(55.44, 49.90, 90.96°) |
| OKLab | oklab(61.56% -0.0073 0.1104) |
| OKLCH | oklch(61.56% 0.111 93.8) |
| XYZ | xyz(22.0180, 23.3556, 5.3554) |
| Luminance | 0.2335 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.04
Baby Poop
#937C00
ΔE00 3.70
Yellowish Brown
#9B7A01
ΔE00 4.34
Dark Mustard
#A88905
ΔE00 4.49
Puke Brown
#947706
ΔE00 4.71
Hazel
#8E7618
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B8328 #28409B
analogous
#9B4928 #9B8328 #799B28
triadic
#9B8328 #289B83 #83289B
tetradic
#9B8328 #289B49 #28409B #9B2879
square
#9B8328 #289B49 #28409B #9B2879
split-complementary
#9B8328 #28799B #49289B
monochromatic
#3A310F #6A5A1B #9B8328 #CBAC35 #D7C066
Accessibility & contrast
On white
3.70
#9B8328 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#9B8328 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B8328
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B8328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B8328 | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#91811A
Deuteranopia (green-blind)
#97882D
Tritanopia (blue-blind)
#A87871
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #9b8328; /* rgb */ color: rgb(155, 131, 40); /* oklch */ color: oklch(61.6% 0.111 93.8);
Tailwind
colors: {
custom: {
50: '#bca668',
500: '#9b8328',
950: '#000000',
},
}SCSS
$custom: #9b8328; $custom-light: #bca668; $custom-dark: #000000;
JSON
{
"hex": "#9b8328",
"rgb": {
"r": 155,
"g": 131,
"b": 40
},
"hsl": {
"h": 47.478,
"s": 58.974,
"l": 38.235
},
"oklch": {
"l": 0.61561,
"c": 0.11068,
"h": 93.8
},
"luminance": 0.23354
}Semantic roles & 50–950 ramp
primary
#9B8328
secondary
#6175BD
accent
#66E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F06
muted
#817F7A