#212708

A color in the Yellow, Gold family

#212708 is a color in the Yellow, Gold family: RGB(33, 39, 8), HSL(72°, 66%, 9%), CMYK(15%, 0%, 79%, 85%). Closest named color: darkslategray. Contrast is 15.46:1 on white and 1.36:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#212708
RGBrgb(33 39 8)
RGB (legacy)rgb(33, 39, 8)
RGB %rgb(13% 15% 3%)
HSLhsl(72 66% 9%)
HSV / HSBhsv(72, 79%, 15%)
HWBhwb(72 3% 85%)
CMYKcmyk(15%, 0%, 79%, 85%)
CIELAB (D50)lab(14.44 -6.98 17.51)
LCHlch(14.44 18.85 111.74)
OKLaboklab(0.2588 -0.0244 0.0435)
OKLCHoklch(0.2588 0.0499 119.31)
Decimal2172680

Properties

Color ToneYellow, Gold
Closest named colordarkslategray ΔE 15.4
Closest web-safe color#333300
Hue72°
Saturation (HSL / HSV)66% / 79%
Lightness (HSL)9%
Brightness or Value (HSV)15%
Luminance (Rec.601 / Rec.709)13% / 14%
Relative luminance (WCAG)0.0179
Red / Green / Blue33 / 39 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.46:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.36:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 102.3 / 0 · As background with white / black text: Lc -105 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #212708;
  --color-brand-oklch: oklch(25.88% 0.0499 119.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(33 39 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#212708] text-[#212708] border-[#212708]">