Skip to content

#242a21

a deep, muted green · neutral · closest name: Black

RGB
36, 42, 33
HSL
100°, 12%, 15%
CMYK
14, 0, 21, 84
Luminance
0.0214

At a glance

Every number on this page in one read: what #242a21 is made of, how bright it looks, and which way it leans.

Hex
#242a21
Hue
100°
green
Saturation
12%
muted
Lightness
15%
deep
Brightness
16%
HSV value
Perceived
15%
weighted brightness
Luminance
0.0214
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Muted
Best ink
White
14.70:1
Closest name
Black
ΔE2000 12.4
Where it sits
Hue100° of 360°
Saturation12%
Lightness15%
Temperature
Warm ← → Cool51% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#242a21
RGBrgb(36, 42, 33)
HSLhsl(100, 12%, 15%)
CMYKcmyk(14%, 0%, 21%, 84%)
LABlab(16.2 -4.8 5.0)
LCHlch(16.2 7.0 133.9)
OKLCHoklch(0.276 0.018 135.2)
Decimal2370081
Display P3color(display-p3 0.141 0.165 0.129)

Copy-ready code

/* CSS */
color: #242a21;
background-color: #242a21;
/* Tailwind (arbitrary) */
class="text-[#242a21] bg-[#242a21]"
/* SCSS */
$brand: #242a21;
/* SwiftUI */
Color(red: 0.141, green: 0.165, blue: 0.129)
/* Android */
Color.parseColor("#242a21")
/* Flutter */
Color(0xFF242A21)
/* Python / OpenCV (BGR) */
(33, 42, 36)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #242a21 · 14.70:1
Use #ffffffAAA at every size.
Aa
White text · 14.70:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.43:1
AA fail · AA large fail · AAA fail
Reading the other direction: #242a21 as text scores 14.70:1 on white and 1.43:1 on black.

Accessibility — WCAG contrast

Aa
#242a21 on white: 14.70:1
AA ✓ pass · AA-large · AAA
Aa
#242a21 on black: 1.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2B2920
deuteranopia · #2A2821
tritanopia · #242927

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #242a21 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F8F7
#EFF1EE
#DDE1DA
#C5CEC0
#A7B5A1
#8A9C81
#76896C
#62725A
#4E5B48
#3B4436
#242a21
Base = 950Lightest = 50 · #F7F8F7Darkest = 950 · #242a21
:root {
  --brand-50: #F7F8F7;
  --brand-100: #EFF1EE;
  --brand-200: #DDE1DA;
  --brand-300: #C5CEC0;
  --brand-400: #A7B5A1;
  --brand-500: #8A9C81;
  --brand-600: #76896C;
  --brand-700: #62725A;
  --brand-800: #4E5B48;
  --brand-900: #3B4436;
  --brand-950: #242a21;
  --brand: #242a21;
  --brand-ink: #ffffff;
}

Colors that work with #242a21

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7F8F6
Tinted page background
Border#D5DBD1
Hairlines and dividers
Muted text#6E8165
Captions on the surface
Accent#241F2B
Second voice, not a rival
Dark variant#3D4738
Hover, pressed, headers
Light variant#F2F4F1
Selected rows, tints
Dark surface#1B1F19
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #242a21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Borders, dividers and quiet backgrounds
  • Long-form reading surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#27212A
Analogous left#282A21
Analogous right#212A22
Split-complement 1#22212A
Split-complement 2#2A2128
Triadic 1#21242A
Triadic 2#2A2124
Tetradic#21282A

RGB percentages

Red14.1%
Green16.5%
Blue12.9%

CMYK percentages

Cyan14.3%
Magenta0.0%
Yellow21.4%
Key (black)83.5%

Color previews

#242a21 text on a black background

contrast 1.43:1

Card sample

#242a21 text on a white background

contrast 14.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #242a21;
Background color
Panel with #242a21 background
background-color: #242a21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #242a21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(36, 42, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(36, 42, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #242a21;
background: linear-gradient(135deg, #242a21, #212A24);

Monochromatic scale

Palettes built from #242a21

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#242a21 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
BackgroundsBordersBody textDividers
Print note

Converts to four-color process without much drama. Proof it anyway.

#242a21, answered

What color is #242a21?

#242a21 is a deep muted green, closest to Black (ΔE2000 12.4). It sits at 100° on the hue wheel with 12% saturation and 15% lightness, which reads as neutral.

What is the RGB value of #242a21?

rgb(36, 42, 33) — 36 red, 42 green and 33 blue out of 255, or 14.1% / 16.5% / 12.9% by channel.

Is #242a21 a light or a dark color?

It is a dark color. Relative luminance is 0.0214 and perceived brightness is 15%, so white text on it reaches 14.70:1.

Should I use black or white text on #242a21?

White. It scores 14.70:1 against #242a21, versus 1.43:1 for black — AAA at any size.

What is the complementary color of #242a21?

#27212A sits directly opposite on the wheel. Softer options are the split-complements #22212A and #2A2128, which give the same contrast with far less vibration.

What colors go well with #242a21?

For interface work: #F7F8F6 as the surface, #D5DBD1 for borders, #6E8165 for secondary text, #241F2B as an accent and #3D4738 for hover and pressed states. For a palette, the analogous pair #282A21 and #212A22 stays calm, while #27212A is the loudest partner.

What is #242a21 in CMYK for printing?

cmyk(14%, 0%, 21%, 84%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #242a21 warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #272A21; nudged cooler, #202B21.

Work with #242a21 in the Color Lab