#142A21

A color in the Cyan, Emerald family

#142a21 is a color in the Cyan, Emerald family: RGB(20, 42, 33), HSL(155°, 35%, 12%), CMYK(52%, 0%, 21%, 84%). Closest named color: darkslategray. Contrast is 15.19:1 on white and 1.38:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#142a21
RGBrgb(20 42 33)
RGB (legacy)rgb(20, 42, 33)
RGB %rgb(8% 16% 13%)
HSLhsl(155 35% 12%)
HSV / HSBhsv(155, 52%, 16%)
HWBhwb(155 8% 84%)
CMYKcmyk(52%, 0%, 21%, 84%)
CIELAB (D50)lab(15 -11.21 3.04)
LCHlch(15 11.61 164.83)
OKLaboklab(0.2634 -0.0321 0.0082)
OKLCHoklch(0.2634 0.0331 165.73)
Decimal1321505

Properties

Color ToneCyan, Emerald
Closest named colordarkslategray ΔE 14.1
Closest web-safe color#003333
Hue155°
Saturation (HSL / HSV)35% / 52%
Lightness (HSL)12%
Brightness or Value (HSV)16%
Luminance (Rec.601 / Rec.709)13% / 14%
Relative luminance (WCAG)0.0191
Red / Green / Blue20 / 42 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
15.19:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.38: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 / 0 · As background with white / black text: Lc -104.8 / 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: #142a21;
  --color-brand-oklch: oklch(26.34% 0.0331 165.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(20 42 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#142a21] text-[#142a21] border-[#142a21]">