#28811E

A color in the Green family

#28811e is a color in the Green family: RGB(40, 129, 30), HSL(114°, 62%, 31%), CMYK(69%, 0%, 77%, 49%). Closest named color: green. Contrast is 4.94:1 on white and 4.25:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#28811e
RGBrgb(40 129 30)
RGB (legacy)rgb(40, 129, 30)
RGB %rgb(16% 51% 12%)
HSLhsl(114 62% 31%)
HSV / HSBhsv(114, 77%, 51%)
HWBhwb(114 12% 49%)
CMYKcmyk(69%, 0%, 77%, 49%)
CIELAB (D50)lab(47.35 -41.6 42.33)
LCHlch(47.35 59.35 134.5)
OKLaboklab(0.5307 -0.1235 0.0975)
OKLCHoklch(0.5307 0.1573 141.69)
Decimal2654494

Properties

Color ToneGreen
Closest named colorgreen ΔE 2.3
Closest web-safe color#339933
Hue114°
Saturation (HSL / HSV)62% / 77%
Lightness (HSL)31%
Brightness or Value (HSV)51%
Luminance (Rec.601 / Rec.709)36% / 40%
Relative luminance (WCAG)0.1625
Red / Green / Blue40 / 129 / 30

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 73.8 / -27.9 · As background with white / black text: Lc -79.2 / 30.3

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: #28811e;
  --color-brand-oklch: oklch(53.07% 0.1573 141.69);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(40 129 30 / 50%); }
/* Tailwind CSS */
<div class="bg-[#28811e] text-[#28811e] border-[#28811e]">