#152D21

A color in the Green family

#152d21 is a color in the Green family: RGB(21, 45, 33), HSL(150°, 36%, 13%), CMYK(53%, 0%, 27%, 82%). Closest named color: darkslategray. Contrast is 14.69:1 on white and 1.43:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#152d21
RGBrgb(21 45 33)
RGB (legacy)rgb(21, 45, 33)
RGB %rgb(8% 18% 13%)
HSLhsl(150 36% 13%)
HSV / HSBhsv(150, 53%, 18%)
HWBhwb(150 8% 82%)
CMYKcmyk(53%, 0%, 27%, 82%)
CIELAB (D50)lab(16.21 -12.49 4.74)
LCHlch(16.21 13.36 159.22)
OKLaboklab(0.2733 -0.0358 0.0125)
OKLCHoklch(0.2733 0.0379 160.68)
Decimal1387809

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 13.2
Closest web-safe color#003333
Hue150°
Saturation (HSL / HSV)36% / 53%
Lightness (HSL)13%
Brightness or Value (HSV)18%
Luminance (Rec.601 / Rec.709)14% / 15%
Relative luminance (WCAG)0.0215
Red / Green / Blue21 / 45 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.69:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.43: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: #152d21;
  --color-brand-oklch: oklch(27.33% 0.0379 160.68);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(21 45 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#152d21] text-[#152d21] border-[#152d21]">