Captain Kirk color: hex code #9B870C

#9B870C rgb(155, 135, 12)
Shades of yellow

Captain Kirk has the hex code #9B870C. It is a dark, vivid yellow.

In the RGB color model it is made of 60.8% red, 52.9% green and 4.7% blue (155, 135, 12).

Its hue angle is 52°, with 86% saturation and 33% lightness. For print, the CMYK equivalent is 0% cyan, 13% magenta, 92% yellow and 39% black.

Black text is the more readable choice on this background (contrast 5.86:1).

Captain Kirk (#9B870C) color codes

HEX#9B870C
RGBrgb(155, 135, 12)
RGB percentrgb(60.8%, 52.9%, 4.7%)
HSLhsl(52, 86%, 33%)
HSV / HSBhsv(52, 92%, 61%)
CMYKcmyk(0%, 13%, 92%, 39%)
CIE LABlab(56.41, -3.97, 59.08)
CIE LCHlch(56.41, 59.22, 93.84)
CIE XYZxyz(22.249, 24.324, 3.871)
Decimal10192652
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Captain Kirk, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #9B870CRatioAAAAAAA large
Sample text5.86:1PassFailPass
Sample text3.58:1FailFailPass
#9B870C as text onRatioAAAAAAA large
Sample text3.58:1FailFailPass
Sample text5.86:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #9B870C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9b870c; }
.text { color: #9b870c; }
.border { border: 2px solid #9b870c; }
.transparent { background-color: rgb(155 135 12 / 50%); }
.gradient { background: linear-gradient(to right, #9b870c, #689b0c); }
Background
Text color
Border

Similar colors

Closest common color name: Olive Green.

See #9B870C on its hex code page

Questions

What color is #9B870C?
#9B870C is a dark, vivid yellow known as Captain Kirk. It belongs to the yellow family of colors.
What is the RGB value of Captain Kirk?
The RGB value is 155, 135, 12: 155 red, 135 green and 12 blue on a 0 to 255 scale.
What is the complementary color of Captain Kirk?
The complementary color is #0C209B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9B870C?
Black text. Black text has a contrast ratio of 5.86:1 and white text 3.58:1. WCAG asks for at least 4.5:1 for normal text.