#2C8A2F

A color in the Green family

#2c8a2f is a color in the Green family: RGB(44, 138, 47), HSL(122°, 52%, 36%), CMYK(68%, 0%, 66%, 46%). Closest named color: forestgreen. Contrast is 4.39:1 on white and 4.78:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#2c8a2f
RGBrgb(44 138 47)
RGB (legacy)rgb(44, 138, 47)
RGB %rgb(17% 54% 18%)
HSLhsl(122 52% 36%)
HSV / HSBhsv(122, 68%, 54%)
HWBhwb(122 17% 46%)
CMYKcmyk(68%, 0%, 66%, 46%)
CIELAB (D50)lab(50.63 -42.57 38.86)
LCHlch(50.63 57.64 137.61)
OKLaboklab(0.5588 -0.1249 0.0921)
OKLCHoklch(0.5588 0.1552 143.59)
Decimal2918959

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 1.4
Closest web-safe color#339933
Hue122°
Saturation (HSL / HSV)52% / 68%
Lightness (HSL)36%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)39% / 44%
Relative luminance (WCAG)0.1892
Red / Green / Blue44 / 138 / 47

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.39:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.78: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 70 / -31.6 · As background with white / black text: Lc -75.5 / 34.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: #2c8a2f;
  --color-brand-oklch: oklch(55.88% 0.1552 143.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(44 138 47 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2c8a2f] text-[#2c8a2f] border-[#2c8a2f]">