#15803D color
The swatch above shows #15803D with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.
#15803D is a dark, vivid green, closest to the CSS named color forestgreen (#228B22).
It is also a Tailwind CSS default: green-700. That means you can write bg-green-700 or text-green-700 directly, with no arbitrary-value brackets and no entry in your theme config.
Color values
| HEX | #15803D |
| RGB | rgb(21, 128, 61) |
| HSL | hsl(142, 72%, 29%) |
| CMYK | cmyk(84%, 0%, 52%, 50%) |
| Decimal | 1409085 |
| CSS | color: #15803D; |
| Android | 0xFF15803D |
| Swift | UIColor(red: 0.082, green: 0.502, blue: 0.239, alpha: 1) |
Accessibility and contrast
| White text on #15803D | 5.02:1 — AA pass · AA large pass · AAA fail |
| Black text on #15803D | 4.19:1 — AA fail · AA large pass · AAA fail |
| Recommended text color | white |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #15803D
Each swatch keeps the hue and saturation of #15803D and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #15803D
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #15803D in code
/* CSS */
.element { color: #15803D; background-color: #15803D; }
.element { color: rgb(21 128 61); }
.element { color: hsl(142 72% 29%); }
/* Tailwind */
<div class="bg-green-700 text-white">
/* SCSS variable */
$brand: #15803D;
Frequently asked questions
What color is #15803D?
#15803D is a dark, vivid green. Its hue sits at 142° on the color wheel, with 72% saturation and 29% lightness.
What is #15803D in RGB?
#15803D converts to rgb(21, 128, 61) — 21 red, 128 green and 61 blue.
What is #15803D in CMYK?
Approximately cmyk(84%, 0%, 52%, 50%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #15803D be white or black?
White gives the better contrast ratio (5.02:1 versus 4.19:1).
What is the complementary color of #15803D?
#7F1558 — the hue directly opposite #15803D on the color wheel.