#2B8D21

A color in the Green family

#2b8d21 is a color in the Green family: RGB(43, 141, 33), HSL(114°, 62%, 34%), CMYK(70%, 0%, 77%, 45%). Closest named color: forestgreen. Contrast is 4.26:1 on white and 4.93:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2b8d21
RGBrgb(43 141 33)
RGB (legacy)rgb(43, 141, 33)
RGB %rgb(17% 55% 13%)
HSLhsl(114 62% 34%)
HSV / HSBhsv(114, 77%, 55%)
HWBhwb(114 13% 45%)
CMYKcmyk(70%, 0%, 77%, 45%)
CIELAB (D50)lab(51.52 -44.73 45.33)
LCHlch(51.52 63.68 134.62)
OKLaboklab(0.5656 -0.1326 0.1044)
OKLCHoklch(0.5656 0.1688 141.8)
Decimal2854177

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 0.8
Closest web-safe color#339933
Hue114°
Saturation (HSL / HSV)62% / 77%
Lightness (HSL)34%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)39% / 44%
Relative luminance (WCAG)0.1967
Red / Green / Blue43 / 141 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.26:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.93:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 68.9 / -32.7 · As background with white / black text: Lc -74.4 / 35.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #2b8d21;
  --color-brand-oklch: oklch(56.56% 0.1688 141.8);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(43 141 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2b8d21] text-[#2b8d21] border-[#2b8d21]">