#288E21

A color in the Green family

#288e21 is a color in the Green family: RGB(40, 142, 33), HSL(116°, 62%, 34%), CMYK(72%, 0%, 77%, 44%). 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#288e21
RGBrgb(40 142 33)
RGB (legacy)rgb(40, 142, 33)
RGB %rgb(16% 56% 13%)
HSLhsl(116 62% 34%)
HSV / HSBhsv(116, 77%, 56%)
HWBhwb(116 13% 44%)
CMYKcmyk(72%, 0%, 77%, 44%)
CIELAB (D50)lab(51.79 -45.64 45.55)
LCHlch(51.79 64.48 135.05)
OKLaboklab(0.5676 -0.135 0.1049)
OKLCHoklch(0.5676 0.171 142.16)
Decimal2657825

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 1
Closest web-safe color#339933
Hue116°
Saturation (HSL / HSV)62% / 77%
Lightness (HSL)34%
Brightness or Value (HSV)56%
Luminance (Rec.601 / Rec.709)39% / 44%
Relative luminance (WCAG)0.1991
Red / Green / Blue40 / 142 / 33

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.6 / -33.1 · As background with white / black text: Lc -74.1 / 35.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: #288e21;
  --color-brand-oklch: oklch(56.76% 0.171 142.16);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(40 142 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#288e21] text-[#288e21] border-[#288e21]">