Skip to content

#255d21

a deep, vivid green · cool · closest name: Dark Green

RGB
37, 93, 33
HSL
116°, 48%, 25%
CMYK
60, 0, 65, 64
Luminance
0.0833

At a glance

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

Hex
#255d21
Hue
116°
green
Saturation
48%
vivid
Lightness
25%
deep
Brightness
36%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0833
WCAG relative
Temperature
Cool
61/100 cool
Color family
Green
Tone
Vivid
Best ink
White
7.88:1
Closest name
Dark Green
ΔE2000 5.6
Where it sits
Hue116° of 360°
Saturation48%
Lightness25%
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#255d21
RGBrgb(37, 93, 33)
HSLhsl(116, 48%, 25%)
CMYKcmyk(60%, 0%, 65%, 64%)
LABlab(34.7 -31.6 28.4)
LCHlch(34.7 42.5 138.1)
OKLCHoklch(0.426 0.109 142.3)
Decimal2448673
Display P3color(display-p3 0.145 0.365 0.129)

Copy-ready code

/* CSS */
color: #255d21;
background-color: #255d21;
/* Tailwind (arbitrary) */
class="text-[#255d21] bg-[#255d21]"
/* SCSS */
$brand: #255d21;
/* SwiftUI */
Color(red: 0.145, green: 0.365, blue: 0.129)
/* Android */
Color.parseColor("#255d21")
/* Flutter */
Color(0xFF255D21)
/* Python / OpenCV (BGR) */
(33, 93, 37)

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 #255d21 · 7.88:1
Use #ffffffAAA at every size.
Aa
White text · 7.88:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.67:1
AA fail · AA large fail · AAA fail
Reading the other direction: #255d21 as text scores 7.88:1 on white and 2.67:1 on black.

Accessibility — WCAG contrast

Aa
#255d21 on white: 7.88:1
AA ✓ pass · AA-large · AAA
Aa
#255d21 on black: 2.67:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #5F541B
deuteranopia · #585026
tritanopia · #1D5A50

Color scale — 50 to 950

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

#F5FAF5
#EBF5EA
#D2ECD0
#B0E2AC
#88D383
#61C459
#48B540
#3C9735
#30782B
#255d21
#183715
Base = 900Lightest = 50 · #F5FAF5Darkest = 950 · #183715
:root {
  --brand-50: #F5FAF5;
  --brand-100: #EBF5EA;
  --brand-200: #D2ECD0;
  --brand-300: #B0E2AC;
  --brand-400: #88D383;
  --brand-500: #61C459;
  --brand-600: #48B540;
  --brand-700: #3C9735;
  --brand-800: #30782B;
  --brand-900: #255d21;
  --brand-950: #183715;
  --brand: #255d21;
  --brand-ink: #ffffff;
}

Colors that work with #255d21

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#F5FAF4
Tinted page background
Border#C5EAC3
Hairlines and dividers
Muted text#509B4B
Captions on the surface
Accent#4B1E5F
Second voice, not a rival
Dark variant#255E21
Hover, pressed, headers
Light variant#EDF8EC
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 #255d21

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

Works well for
  • Body text and links on white
  • 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
  • Text on black or near-black surfaces
  • 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#59215D
Analogous left#435D21
Analogous right#215D3B
Split-complement 1#3B215D
Split-complement 2#5D2143
Triadic 1#21255D
Triadic 2#5D2125
Tetradic#21435D

RGB percentages

Red14.5%
Green36.5%
Blue12.9%

CMYK percentages

Cyan60.2%
Magenta0.0%
Yellow64.5%
Key (black)63.5%

Color previews

#255d21 text on a black background

contrast 2.67:1

Card sample

#255d21 text on a white background

contrast 7.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(37, 93, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(37, 93, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #255d21;
background: linear-gradient(135deg, #255d21, #215D45);

Monochromatic scale

Palettes built from #255d21

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.

#255d21 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.

#255d21, answered

What color is #255d21?

#255d21 is a deep vivid green, closest to Dark Green (ΔE2000 5.6). It sits at 116° on the hue wheel with 48% saturation and 25% lightness, which reads as cool.

What is the RGB value of #255d21?

rgb(37, 93, 33) — 37 red, 93 green and 33 blue out of 255, or 14.5% / 36.5% / 12.9% by channel.

Is #255d21 a light or a dark color?

It is a dark color. Relative luminance is 0.0833 and perceived brightness is 29%, so white text on it reaches 7.88:1.

Should I use black or white text on #255d21?

White. It scores 7.88:1 against #255d21, versus 2.67:1 for black — AAA at any size.

What is the complementary color of #255d21?

#59215D sits directly opposite on the wheel. Softer options are the split-complements #3B215D and #5D2143, which give the same contrast with far less vibration.

What colors go well with #255d21?

For interface work: #F5FAF4 as the surface, #C5EAC3 for borders, #509B4B for secondary text, #4B1E5F as an accent and #255E21 for hover and pressed states. For a palette, the analogous pair #435D21 and #215D3B stays calm, while #59215D is the loudest partner.

What is #255d21 in CMYK for printing?

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

Is #255d21 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 #3B5D21; nudged cooler, #205E32.

Work with #255d21 in the Color Lab