#1B1E02 color

#1B1E02 rgb(27, 30, 2)
Shades of black

The hex color #1B1E02 is a very dark, vivid yellow.

In the RGB color model it is made of 10.6% red, 11.8% green and 0.8% blue (27, 30, 2).

Its hue angle is 66°, with 88% saturation and 6% lightness. For print, the CMYK equivalent is 10% cyan, 0% magenta, 93% yellow and 88% black.

The closest named color is Midnight Pines (#17240B), a difference of 4.7 ΔE, a small difference.

White text is the more readable choice on this background (contrast 17.03:1).

#1B1E02 color codes

HEX#1B1E02
RGBrgb(27, 30, 2)
RGB percentrgb(10.6%, 11.8%, 0.8%)
HSLhsl(66, 88%, 6%)
HSV / HSBhsv(66, 93%, 12%)
CMYKcmyk(10%, 0%, 93%, 88%)
CIE LABlab(10.3, -6.54, 14.42)
CIE LCHlch(10.3, 15.84, 114.39)
CIE XYZxyz(0.927, 1.166, 0.234)
Decimal1777154
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #1B1E02, 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 #1B1E02RatioAAAAAAA large
Sample text1.23:1FailFailFail
Sample text17.03:1PassPassPass
#1B1E02 as text onRatioAAAAAAA large
Sample text17.03:1PassPassPass
Sample text1.23:1FailFailFail

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 #1B1E02 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #1b1e02; }
.text { color: #1b1e02; }
.border { border: 2px solid #1b1e02; }
.transparent { background-color: rgb(27 30 2 / 50%); }
.gradient { background: linear-gradient(to right, #1b1e02, #0d1e02); }
Background
Text color
Border

Similar colors

Closest common color name: Onyx.

Questions

What color is #1B1E02?
#1B1E02 is a very dark, vivid yellow, closest to the named color Midnight Pines. It belongs to the black family of colors.
What is the RGB value of #1B1E02?
The RGB value is 27, 30, 2: 27 red, 30 green and 2 blue on a 0 to 255 scale.
What is the complementary color of #1B1E02?
The complementary color is #05021E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #1B1E02?
White text. Black text has a contrast ratio of 1.23:1 and white text 17.03:1. WCAG asks for at least 4.5:1 for normal text.