#7FAC4E

A color in the Green family

#7fac4e is a color in the Green family: RGB(127, 172, 78), HSL(89°, 38%, 49%), CMYK(26%, 0%, 55%, 33%). Closest named color: mediumseagreen. Contrast is 2.65:1 on white and 7.91:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#7fac4e
RGBrgb(127 172 78)
RGB (legacy)rgb(127, 172, 78)
RGB %rgb(50% 67% 31%)
HSLhsl(89 38% 49%)
HSV / HSBhsv(89, 55%, 67%)
HWBhwb(89 31% 33%)
CMYKcmyk(26%, 0%, 55%, 33%)
CIELAB (D50)lab(65.56 -27.57 42.51)
LCHlch(65.56 50.67 122.97)
OKLaboklab(0.6911 -0.0867 0.1016)
OKLCHoklch(0.6911 0.1335 130.46)
Decimal8367182

Properties

Color ToneGreen
Closest named colormediumseagreen ΔE 6
Closest web-safe color#669966
Hue89°
Saturation (HSL / HSV)38% / 55%
Lightness (HSL)49%
Brightness or Value (HSV)67%
Luminance (Rec.601 / Rec.709)58% / 61%
Relative luminance (WCAG)0.3457
Red / Green / Blue127 / 172 / 78

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 51.5 / -50.4 · As background with white / black text: Lc -56.7 / 52.5

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: #7fac4e;
  --color-brand-oklch: oklch(69.11% 0.1335 130.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(127 172 78 / 50%); }
/* Tailwind CSS */
<div class="bg-[#7fac4e] text-[#7fac4e] border-[#7fac4e]">