#182E21

A color in the Green family

#182e21 is a color in the Green family: RGB(24, 46, 33), HSL(145°, 31%, 14%), CMYK(48%, 0%, 28%, 82%). Closest named color: darkslategray. Contrast is 14.47:1 on white and 1.45:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#182e21
RGBrgb(24 46 33)
RGB (legacy)rgb(24, 46, 33)
RGB %rgb(9% 18% 13%)
HSLhsl(145 31% 14%)
HSV / HSBhsv(145, 48%, 18%)
HWBhwb(145 9% 82%)
CMYKcmyk(48%, 0%, 28%, 82%)
CIELAB (D50)lab(16.77 -11.92 5.55)
LCHlch(16.77 13.15 155.05)
OKLaboklab(0.2782 -0.0343 0.0146)
OKLCHoklch(0.2782 0.0372 156.99)
Decimal1584673

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 12.7
Closest web-safe color#003333
Hue145°
Saturation (HSL / HSV)31% / 48%
Lightness (HSL)14%
Brightness or Value (HSV)18%
Luminance (Rec.601 / Rec.709)15% / 16%
Relative luminance (WCAG)0.0226
Red / Green / Blue24 / 46 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.47:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.45: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.2 / 0 · As background with white / black text: Lc -104.1 / 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: #182e21;
  --color-brand-oklch: oklch(27.82% 0.0372 156.99);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(24 46 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#182e21] text-[#182e21] border-[#182e21]">