Skip to content

#263021

a deep, soft green · cool · closest name: darkslategray

RGB
38, 48, 33
HSL
100°, 19%, 16%
CMYK
21, 0, 31, 81
Luminance
0.0264

Every format

HEX#263021
RGBrgb(38, 48, 33)
HSLhsl(100, 19%, 16%)
CMYKcmyk(21%, 0%, 31%, 81%)
LABlab(18.5 -7.8 8.2)
LCHlch(18.5 11.4 133.5)
OKLCHoklch(0.295 0.030 135.4)

Copy-ready code

/* CSS */
color: #263021;
background-color: #263021;
/* Tailwind (arbitrary) */
class="text-[#263021] bg-[#263021]"
/* SCSS */
$brand: #263021;
/* SwiftUI */
Color(red: 0.149, green: 0.188, blue: 0.129)
/* Android */
Color.parseColor("#263021")

Accessibility — WCAG contrast

Aa
#263021 on white: 13.75:1
AA ✓ pass · AA-large · AAA
Aa
#263021 on black: 1.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red14.9%
Green18.8%
Blue12.9%

CMYK percentages

Cyan20.8%
Magenta0.0%
Yellow31.3%
Key (black)81.2%

Color previews

#263021 text on a black background

contrast 1.53:1

Card sample

#263021 text on a white background

contrast 13.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(38, 48, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 48, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #263021;
background: linear-gradient(135deg, #263021, #213026);

Monochromatic scale

Palettes built from #263021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #263021 in the Color Lab