Dark Yellow (#9B870C)
HEX, RGB, HSL, CMYK values + mood/style/use-case color tags. Use this page to keep your colors consistent across web and print.
Preview
Contrast vs white: 3.58:1 — vs black: 5.86:1
Color values
-
HEX
#9B870C -
RGB
rgb(155, 135, 12) -
HSL
hsl(51, 92%, 60%) -
CMYK
cmyk( 0, 12.9, 92.26, 39.22 )
Tags
Style
Use case
Tip: tags are heuristic suggestions (helpful for browsing and inspiration).
Color Harmonies
Colors that pair well with #9B870C based on color theory relationships.
The color directly opposite on the color wheel — creates maximum contrast and vibrance.
#9B870C
Base
#0C209B
Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.
#9B870C
Base
#9B400C
#679B0C
Three colors equally spaced 120° apart — bold, balanced, and visually rich.
#9B870C
Base
#0C9B87
#870C9B
Two colors flanking the complement — high contrast with less tension than full complementary.
#9B870C
Base
#0C679B
#400C9B
Four colors at 90° intervals — rich variety, best when one color dominates.
#9B870C
Base
#0C9B40
#0C209B
#9B0C67
Shades and tints of the same hue — cohesive, elegant, and easy to work with.
#9B870C
Base
#181502
#544907
#756609
#C1A80F
#E2C511
#F1DB4F
Darker shades and lighter tints of Dark Yellow, generated by adjusting lightness while keeping the same hue and saturation.
Shades (darker)
#181502
#322B04
#4C4206
#665908
#81700A
#9B870C
Base
#D6BA11
#EFD637
#F4E271
#F9EEAC
#FDFAE7
Ready-to-use code snippets for #9B870C. Click the copy button to copy any snippet to your clipboard.
/* Background */
.element {
background-color: #9B870C;
}
/* Text */
.element {
color: #9B870C;
}
/* Border */
.element {
border: 1px solid #9B870C;
}
/* Linear gradient to complementary */
.element {
background: linear-gradient(
to right,
#9B870C,
#3F59F7
);
}
/* Radial gradient */
.element {
background: radial-gradient(
circle,
#9B870C,
#3F59F7
);
}
// SCSS variable
$dark-yellow: #9B870C;
// With RGB channels (useful for rgba() usage)
$dark-yellow-r: 155;
$dark-yellow-g: 135;
$dark-yellow-b: 12;
// Usage
.element {
background-color: $dark-yellow;
color: rgba($dark-yellow-r, $dark-yellow-g, $dark-yellow-b, 0.8);
}
How Dark Yellow appears to people with different types of color vision deficiency.
#9B870C
How the color appears with full color vision.
#8D8D06
Deuteranopia affects ~8% of males. Green cones are absent, making it difficult to distinguish red from green. The most common form of color blindness.
#89890D
Protanopia affects ~1% of males. Red cones are absent, causing reds to appear dark and indistinguishable from greens and browns.
#A27F7F
Tritanopia is rare (~0.003%). Blue cones are absent, making blue and yellow difficult to distinguish. Blues may appear green, yellows appear pink.
#878787
Achromatopsia is complete color blindness. The world is seen entirely in shades of grey. Affects ~1 in 30,000 people.
How to use this color
- Copy HEX for CSS and design tools, or RGB/HSL for UI adjustments.
- Use CMYK when preparing print assets (posters, packaging, brochures).
- Check contrast before using it for text or important UI elements.