#287C42

A color in the Green family

#287c42 is a color in the Green family: RGB(40, 124, 66), HSL(139°, 51%, 32%), CMYK(68%, 0%, 47%, 51%). Closest named color: seagreen. Contrast is 5.18:1 on white and 4.05:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#287c42
RGBrgb(40 124 66)
RGB (legacy)rgb(40, 124, 66)
RGB %rgb(16% 49% 26%)
HSLhsl(139 51% 32%)
HSV / HSBhsv(139, 68%, 49%)
HWBhwb(139 16% 51%)
CMYKcmyk(68%, 0%, 47%, 51%)
CIELAB (D50)lab(45.98 -36.48 23.95)
LCHlch(45.98 43.64 146.71)
OKLaboklab(0.5212 -0.1045 0.06)
OKLCHoklch(0.5212 0.1205 150.12)
Decimal2653250

Properties

Color ToneGreen
Closest named colorseagreen ΔE 4.8
Closest web-safe color#336633
Hue139°
Saturation (HSL / HSV)51% / 68%
Lightness (HSL)32%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)36% / 40%
Relative luminance (WCAG)0.1526
Red / Green / Blue40 / 124 / 66

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.18:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.05: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.3 / -26.4 · As background with white / black text: Lc -80.7 / 28.7

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