#4C8A2D

A color in the Green family

#4c8a2d is a color in the Green family: RGB(76, 138, 45), HSL(100°, 51%, 36%), CMYK(45%, 0%, 67%, 46%). Closest named color: forestgreen. Contrast is 4.22:1 on white and 4.98:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#4c8a2d
RGBrgb(76 138 45)
RGB (legacy)rgb(76, 138, 45)
RGB %rgb(30% 54% 18%)
HSLhsl(100 51% 36%)
HSV / HSBhsv(100, 67%, 54%)
HWBhwb(100 18% 46%)
CMYKcmyk(45%, 0%, 67%, 46%)
CIELAB (D50)lab(51.82 -33.9 41.42)
LCHlch(51.82 53.52 129.3)
OKLaboklab(0.5713 -0.1035 0.0968)
OKLCHoklch(0.5713 0.1417 136.9)
Decimal5016109

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 3.4
Closest web-safe color#339933
Hue100°
Saturation (HSL / HSV)51% / 67%
Lightness (HSL)36%
Brightness or Value (HSV)54%
Luminance (Rec.601 / Rec.709)43% / 46%
Relative luminance (WCAG)0.199
Red / Green / Blue76 / 138 / 45

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.22:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.98: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.8 · As background with white / black text: Lc -74.4 / 35.2

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: #4c8a2d;
  --color-brand-oklch: oklch(57.13% 0.1417 136.9);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(76 138 45 / 50%); }
/* Tailwind CSS */
<div class="bg-[#4c8a2d] text-[#4c8a2d] border-[#4c8a2d]">