Skip to content

#289c21

a dark, vivid green · cool · closest name: Forest Green

RGB
40, 156, 33
HSL
117°, 65%, 37%
CMYK
74, 0, 79, 39
Luminance
0.2434

At a glance

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

Hex
#289c21
Hue
117°
green
Saturation
65%
vivid
Lightness
37%
dark
Brightness
61%
HSV value
Perceived
48%
weighted brightness
Luminance
0.2434
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
5.87:1
Closest name
Forest Green
ΔE2000 6
Where it sits
Hue117° of 360°
Saturation65%
Lightness37%
Temperature
Warm ← → Cool61% cool

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

Every format

HEX#289c21
RGBrgb(40, 156, 33)
HSLhsl(117, 65%, 37%)
CMYKcmyk(74%, 0%, 79%, 39%)
LABlab(56.4 -54.3 51.2)
LCHlch(56.4 74.6 136.7)
OKLCHoklch(0.607 0.187 142.2)
Decimal2661409
Display P3color(display-p3 0.157 0.612 0.129)

Copy-ready code

/* CSS */
color: #289c21;
background-color: #289c21;
/* Tailwind (arbitrary) */
class="text-[#289c21] bg-[#289c21]"
/* SCSS */
$brand: #289c21;
/* SwiftUI */
Color(red: 0.157, green: 0.612, blue: 0.129)
/* Android */
Color.parseColor("#289c21")
/* Flutter */
Color(0xFF289C21)
/* Python / OpenCV (BGR) */
(33, 156, 40)

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#000000 on #289c21 · 5.87:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.58:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.87:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #289c21 as text scores 3.58:1 on white and 5.87:1 on black.

Accessibility — WCAG contrast

Aa
#289c21 on white: 3.58:1
AA ✗ fail · AA-large · AAA
Aa
#289c21 on black: 5.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A08D00
deuteranopia · #93842F
tritanopia · #009785

Color scale — 50 to 950

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

#F4FBF3
#E9F7E8
#CDF1CB
#A7EBA2
#7AE274
#4ED846
#34CA2B
#289c21
#22871C
#1D6219
#123D0F
Base = 700Lightest = 50 · #F4FBF3Darkest = 950 · #123D0F
:root {
  --brand-50: #F4FBF3;
  --brand-100: #E9F7E8;
  --brand-200: #CDF1CB;
  --brand-300: #A7EBA2;
  --brand-400: #7AE274;
  --brand-500: #4ED846;
  --brand-600: #34CA2B;
  --brand-700: #289c21;
  --brand-800: #22871C;
  --brand-900: #1D6219;
  --brand-950: #123D0F;
  --brand: #289c21;
  --brand-ink: #000000;
}

Colors that work with #289c21

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

Text on it#000000
Black wins here
Surface#F5FAF4
Tinted page background
Border#C2EDC0
Hairlines and dividers
Muted text#4F9B4B
Captions on the surface
Accent#781DA0
Second voice, not a rival
Dark variant#1B6916
Hover, pressed, headers
Light variant#EBFBEA
Selected rows, tints
Dark surface#152414
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 #289c21

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#95219C
Analogous left#669C21
Analogous right#219C58
Split-complement 1#58219C
Split-complement 2#9C2166
Triadic 1#21289C
Triadic 2#9C2128
Tetradic#21669C

RGB percentages

Red15.7%
Green61.2%
Blue12.9%

CMYK percentages

Cyan74.4%
Magenta0.0%
Yellow78.8%
Key (black)38.8%

Color previews

#289c21 text on a black background

contrast 5.87:1

Card sample

#289c21 text on a white background

contrast 3.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 156, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 156, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #289c21;
background: linear-gradient(135deg, #289c21, #219C6C);

Monochromatic scale

Palettes built from #289c21

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.

#289c21 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
ButtonsLinksFocus statesCharts
Print note

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

#289c21, answered

What color is #289c21?

#289c21 is a dark vivid green, closest to Forest Green (ΔE2000 6). It sits at 117° on the hue wheel with 65% saturation and 37% lightness, which reads as cool.

What is the RGB value of #289c21?

rgb(40, 156, 33) — 40 red, 156 green and 33 blue out of 255, or 15.7% / 61.2% / 12.9% by channel.

Is #289c21 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2434 and perceived brightness is 48%, so black text on it reaches 5.87:1.

Should I use black or white text on #289c21?

Black. It scores 5.87:1 against #289c21, versus 3.58:1 for white — AA at any size.

What is the complementary color of #289c21?

#95219C sits directly opposite on the wheel. Softer options are the split-complements #58219C and #9C2166, which give the same contrast with far less vibration.

What colors go well with #289c21?

For interface work: #F5FAF4 as the surface, #C2EDC0 for borders, #4F9B4B for secondary text, #781DA0 as an accent and #1B6916 for hover and pressed states. For a palette, the analogous pair #669C21 and #219C58 stays calm, while #95219C is the loudest partner.

What is #289c21 in CMYK for printing?

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

Is #289c21 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #559C21; nudged cooler, #1F9E46.

Work with #289c21 in the Color Lab