#9C8728#9C8728
#9C8728 is a light, moderate yellow. Relative luminance 0.245; OKLCH L 62.5% C 0.114 H 96.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8728 |
|---|---|
| RGB | rgb(156, 135, 40) |
| HSL | hsl(49, 59%, 38%) |
| HSV | hsv(49, 74%, 61%) |
| CMYK | cmyk(0%, 13.5%, 74.4%, 38.8%) |
| CIE-LAB | lab(56.63, -2.60, 51.09) |
| CIE-LCH | lch(56.63, 51.16, 92.91°) |
| OKLab | oklab(62.53% -0.0123 0.1129) |
| OKLCH | oklch(62.53% 0.114 96.2) |
| XYZ | xyz(22.7584, 24.5503, 5.5470) |
| Luminance | 0.2455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Diarrhea
#9F8303
ΔE00 3.29
Dark Mustard
#A88905
ΔE00 4.17
Baby Poop
#937C00
ΔE00 4.44
Baby Poo
#AB9004
ΔE00 5.05
Baby Shit Brown
#AD900D
ΔE00 5.12
Yellowy Brown
#AE8B0C
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8728 #283D9C
analogous
#9C4D28 #9C8728 #779C28
triadic
#9C8728 #289C87 #87289C
tetradic
#9C8728 #289C4D #283D9C #9C2877
square
#9C8728 #289C4D #283D9C #9C2877
split-complementary
#9C8728 #28779C #4D289C
monochromatic
#3B330F #6B5D1C #9C8728 #CBB036 #D8C367
Accessibility & contrast
On white
3.55
#9C8728 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#9C8728 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9C8728
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8728 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#958418
Deuteranopia (green-blind)
#9B8B2E
Tritanopia (blue-blind)
#A97C74
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9c8728; /* rgb */ color: rgb(156, 135, 40); /* oklch */ color: oklch(62.5% 0.114 96.2);
Tailwind
colors: {
custom: {
50: '#bda969',
500: '#9c8728',
950: '#000000',
},
}SCSS
$custom: #9c8728; $custom-light: #bda969; $custom-dark: #000000;
JSON
{
"hex": "#9c8728",
"rgb": {
"r": 156,
"g": 135,
"b": 40
},
"hsl": {
"h": 49.138,
"s": 59.184,
"l": 38.431
},
"oklch": {
"l": 0.62532,
"c": 0.11361,
"h": 96.2
},
"luminance": 0.24549
}Semantic roles & 50–950 ramp
primary
#9C8728
secondary
#6273BE
accent
#62E245
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#120F07
muted
#817F7A