Dark Yellow

HEX: #9B870C | Modern Palette

On White
3.58:1
FAIL
On Black
5.86:1
PASS

Color Specifications

HEX
#9B870C
RGB
155, 135, 12
HSL
51°, 92% ,60%
CMYK
0, 12.9, 92.26, 39.22

About Dark Yellow

Dark Yellow (#9B870C) is a color with RGB(155, 135, 12) and HSL(51.61°, 92.26%, 60.78%). It is commonly associated with Energetic, Bold moods. In design, it fits Vivid, Neon styles and is suitable for Text, Button, Accent. Its complementary color is #0C209B, which creates strong contrast. Its triadic palette includes #0C9B87 and #870C9B.

  • HEX: #9B870C
  • RGB: 155, 135, 12
  • HSL: 51.61°, 92.26%, 60.78%
  • Mood: Energetic, Bold
  • Style: Vivid, Neon
  • Use case: Text, Button, Accent
  • Complementary color: #0C209B
  • Triadic colors: #0C9B87, #870C9B

Live Components

LIGHT
DARK
System Notification Box

Color Palettes

Monochromatic Five tones of the same hue — a reliable scale for backgrounds, surfaces, and text.
Neutral + Accent Four near-neutral tones grounded by a saturated accent — clean and versatile for UI.
Analogous Five hues drifting across a 60° arc — naturally harmonious and pleasing to the eye.
3 + 1 + 1 Three analogous base colors, one complementary accent, one dark anchor — bold yet balanced.

Color Harmonies

Complementary

The color directly opposite on the color wheel — creates maximum contrast and vibrance.

Analogous

Colors adjacent on the wheel — naturally harmonious and pleasing to the eye.

Triadic

Three colors equally spaced 120° apart — bold, balanced, and visually rich.

Split-Complementary

Two colors flanking the complement — high contrast with less tension than full complementary.

Tetradic (Square)

Four colors at 90° intervals — rich variety, best when one color dominates.

Monochromatic

Shades and tints of the same hue — cohesive, elegant, and easy to work with.

Shades & Tints

A seamless scale of #9B870C from deepest shade to lightest tint.

Color Characteristics

Style
Vivid Neon
Use case
Text Button Accent

Accessibility Simulation

Deuteranopia #8D8D06
Protanopia #89890D
Tritanopia #A27F7F
Achromatopsia #878787

Frequently Asked Questions

Dark Yellow (#9B870C) is a color with RGB(155, 135, 12) and HSL(51.61°, 92.26%, 60.78%).

#9B870C pairs strongly with #0C209B as its complementary color. It can also be used with neutral tones for balanced UI and design layouts.

#9B870C is suitable for Text, Button, Accent and works well with Vivid, Neon styles.

#9B870C is commonly associated with Energetic, Bold.

Similar Named Colors

Olive #808000 ΔE 7.19
Old Moss Green #867E36 ΔE 7.93
Metallic Sunburst #9C7C38 ΔE 8.51
Dark Goldenrod #B8860B ΔE 9.22

Code Snippets

/* 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);
}