#978727 color

#978727 rgb(151, 135, 39)
Shades of yellow

The hex color #978727 is a dark, moderate yellow.

In the RGB color model it is made of 59.2% red, 52.9% green and 15.3% blue (151, 135, 39).

Its hue angle is 51°, with 59% saturation and 37% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 74% yellow and 41% black.

The closest named color is Captain Kirk (#9B870C), a difference of 2.6 ΔE, a small difference.

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

#978727 color codes

HEX#978727
RGBrgb(151, 135, 39)
RGB percentrgb(59.2%, 52.9%, 15.3%)
HSLhsl(51, 59%, 37%)
HSV / HSBhsv(51, 74%, 59%)
CMYKcmyk(0%, 11%, 74%, 41%)
CIE LABlab(56.14, -4.93, 50.84)
CIE LCHlch(56.14, 51.08, 95.54)
CIE XYZxyz(21.794, 24.055, 5.414)
Decimal9930535
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #978727, 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 #978727RatioAAAAAAA large
Sample text5.81:1PassFailPass
Sample text3.61:1FailFailPass
#978727 as text onRatioAAAAAAA large
Sample text3.61:1FailFailPass
Sample text5.81: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 #978727 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #978727; }
.text { color: #978727; }
.border { border: 2px solid #978727; }
.transparent { background-color: rgb(151 135 39 / 50%); }
.gradient { background: linear-gradient(to right, #978727, #6f9727); }
Background
Text color
Border

Similar colors

Closest common color name: Olive Green.

Questions

What color is #978727?
#978727 is a dark, moderate yellow, closest to the named color Captain Kirk. It belongs to the yellow family of colors.
What is the RGB value of #978727?
The RGB value is 151, 135, 39: 151 red, 135 green and 39 blue on a 0 to 255 scale.
What is the complementary color of #978727?
The complementary color is #273797, found by rotating the hue 180° on the color wheel.
Is black or white text better on #978727?
Black text. Black text has a contrast ratio of 5.81:1 and white text 3.61:1. WCAG asks for at least 4.5:1 for normal text.