#2A9727

A color in the Green family

#2a9727 is a color in the Green family: RGB(42, 151, 39), HSL(118°, 59%, 37%), CMYK(72%, 0%, 74%, 41%). Closest named color: forestgreen. Contrast is 3.78:1 on white and 5.55:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#2a9727
RGBrgb(42 151 39)
RGB (legacy)rgb(42, 151, 39)
RGB %rgb(16% 59% 15%)
HSLhsl(118 59% 37%)
HSV / HSBhsv(118, 74%, 59%)
HWBhwb(118 15% 41%)
CMYKcmyk(72%, 0%, 74%, 41%)
CIELAB (D50)lab(54.89 -47.75 46.46)
LCHlch(54.89 66.62 135.78)
OKLaboklab(0.5936 -0.1408 0.1076)
OKLCHoklch(0.5936 0.1772 142.62)
Decimal2791207

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 3.7
Closest web-safe color#339933
Hue118°
Saturation (HSL / HSV)59% / 74%
Lightness (HSL)37%
Brightness or Value (HSV)59%
Luminance (Rec.601 / Rec.709)41% / 47%
Relative luminance (WCAG)0.2277
Red / Green / Blue42 / 151 / 39

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.78:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.55: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 64.9 / -36.8 · As background with white / black text: Lc -70.4 / 39.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: #2a9727;
  --color-brand-oklch: oklch(59.36% 0.1772 142.62);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(42 151 39 / 50%); }
/* Tailwind CSS */
<div class="bg-[#2a9727] text-[#2a9727] border-[#2a9727]">