#282D21

A color in the Green family

#282d21 is a color in the Green family: RGB(40, 45, 33), HSL(85°, 15%, 15%), CMYK(11%, 0%, 27%, 82%). Closest named color: darkslategray. Contrast is 14.12:1 on white and 1.49:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#282d21
RGBrgb(40 45 33)
RGB (legacy)rgb(40, 45, 33)
RGB %rgb(16% 18% 13%)
HSLhsl(85 15% 15%)
HSV / HSBhsv(85, 27%, 18%)
HWBhwb(85 13% 82%)
CMYKcmyk(11%, 0%, 27%, 82%)
CIELAB (D50)lab(17.67 -4.33 7.02)
LCHlch(17.67 8.25 121.62)
OKLaboklab(0.2882 -0.0131 0.018)
OKLCHoklch(0.2882 0.0223 126.15)
Decimal2632993

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 12
Closest web-safe color#333333
Hue85°
Saturation (HSL / HSV)15% / 27%
Lightness (HSL)15%
Brightness or Value (HSV)18%
Luminance (Rec.601 / Rec.709)17% / 17%
Relative luminance (WCAG)0.0244
Red / Green / Blue40 / 45 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.12:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.49: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 100.8 / 0 · As background with white / black text: Lc -103.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: #282d21;
  --color-brand-oklch: oklch(28.82% 0.0223 126.15);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(40 45 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#282d21] text-[#282d21] border-[#282d21]">