#287C24

A color in the Green family

#287c24 is a color in the Green family: RGB(40, 124, 36), HSL(117°, 55%, 31%), CMYK(68%, 0%, 71%, 51%). Closest named color: green. Contrast is 5.25:1 on white and 4:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#287c24
RGBrgb(40 124 36)
RGB (legacy)rgb(40, 124, 36)
RGB %rgb(16% 49% 14%)
HSLhsl(117 55% 31%)
HSV / HSBhsv(117, 71%, 49%)
HWBhwb(117 14% 51%)
CMYKcmyk(68%, 0%, 71%, 51%)
CIELAB (D50)lab(45.67 -39.53 38.31)
LCHlch(45.67 55.05 135.9)
OKLaboklab(0.5171 -0.1167 0.0897)
OKLCHoklch(0.5171 0.1472 142.46)
Decimal2653220

Properties

Color ToneGreen
Closest named colorgreen ΔE 3
Closest web-safe color#336633
Hue117°
Saturation (HSL / HSV)55% / 71%
Lightness (HSL)31%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)35% / 39%
Relative luminance (WCAG)0.1499
Red / Green / Blue40 / 124 / 36

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.25:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.00: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 75.7 / -26 · As background with white / black text: Lc -81 / 28.4

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: #287c24;
  --color-brand-oklch: oklch(51.71% 0.1472 142.46);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(40 124 36 / 50%); }
/* Tailwind CSS */
<div class="bg-[#287c24] text-[#287c24] border-[#287c24]">