#042E21

A color in the Cyan, Emerald family

#042e21 is a color in the Cyan, Emerald family: RGB(4, 46, 33), HSL(161°, 84%, 10%), CMYK(91%, 0%, 28%, 82%). Closest named color: darkslategray. Contrast is 14.81:1 on white and 1.42:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#042e21
RGBrgb(4 46 33)
RGB (legacy)rgb(4, 46, 33)
RGB %rgb(2% 18% 13%)
HSLhsl(161 84% 10%)
HSV / HSBhsv(161, 91%, 18%)
HWBhwb(161 2% 82%)
CMYKcmyk(91%, 0%, 28%, 82%)
CIELAB (D50)lab(15.89 -17.77 4.17)
LCHlch(15.89 18.25 166.78)
OKLaboklab(0.2691 -0.0501 0.0112)
OKLCHoklch(0.2691 0.0513 167.37)
Decimal273953

Properties

Color ToneCyan, Emerald
Closest named colordarkslategray ΔE 13.6
Closest web-safe color#003333
Hue161°
Saturation (HSL / HSV)84% / 91%
Lightness (HSL)10%
Brightness or Value (HSV)18%
Luminance (Rec.601 / Rec.709)13% / 14%
Relative luminance (WCAG)0.0209
Red / Green / Blue4 / 46 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.81:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.42: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 101.4 / 0 · As background with white / black text: Lc -104.3 / 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: #042e21;
  --color-brand-oklch: oklch(26.91% 0.0513 167.37);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(4 46 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#042e21] text-[#042e21] border-[#042e21]">