Skip to content

#123f21

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

RGB
18, 63, 33
HSL
140°, 56%, 16%
CMYK
71, 0, 48, 75
Luminance
0.0379

Every format

HEX#123f21
RGBrgb(18, 63, 33)
HSLhsl(140, 56%, 16%)
CMYKcmyk(71%, 0%, 48%, 75%)
LABlab(23.0 -23.4 14.0)
LCHlch(23.0 27.2 149.1)
OKLCHoklch(0.328 0.072 151.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#123f21 on white: 11.94:1
AA ✓ pass · AA-large · AAA
Aa
#123f21 on black: 1.76:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red7.1%
Green24.7%
Blue12.9%

CMYK percentages

Cyan71.4%
Magenta0.0%
Yellow47.6%
Key (black)75.3%

Color previews

#123f21 text on a black background

contrast 1.76:1

Card sample

#123f21 text on a white background

contrast 11.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(18, 63, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(18, 63, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #123f21;
background: linear-gradient(135deg, #123f21, #123F3F);

Monochromatic scale

Palettes built from #123f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #123f21 in the Color Lab