#287C17

A color in the Green family

#287c17 is a color in the Green family: RGB(40, 124, 23), HSL(110°, 69%, 29%), CMYK(68%, 0%, 81%, 51%). Closest named color: green. Contrast is 5.27:1 on white and 3.99:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#287c17
RGBrgb(40 124 23)
RGB (legacy)rgb(40, 124, 23)
RGB %rgb(16% 49% 9%)
HSLhsl(110 69% 29%)
HSV / HSBhsv(110, 81%, 49%)
HWBhwb(110 9% 51%)
CMYKcmyk(68%, 0%, 81%, 51%)
CIELAB (D50)lab(45.6 -40.31 43.05)
LCHlch(45.6 58.97 133.12)
OKLaboklab(0.516 -0.1203 0.0981)
OKLCHoklch(0.516 0.1552 140.82)
Decimal2653207

Properties

Color ToneGreen
Closest named colorgreen ΔE 2.2
Closest web-safe color#336600
Hue110°
Saturation (HSL / HSV)69% / 81%
Lightness (HSL)29%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)34% / 39%
Relative luminance (WCAG)0.1493
Red / Green / Blue40 / 124 / 23

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.27:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.99: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.8 / -26 · As background with white / black text: Lc -81.1 / 28.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: #287c17;
  --color-brand-oklch: oklch(51.6% 0.1552 140.82);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(40 124 23 / 50%); }
/* Tailwind CSS */
<div class="bg-[#287c17] text-[#287c17] border-[#287c17]">