#287947#287947

#287947 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.111 H 152.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#287947
RGBrgb(40, 121, 71)
HSLhsl(143, 50%, 32%)
HSVhsv(143, 67%, 47%)
CMYKcmyk(66.9%, 0%, 41.3%, 52.5%)
CIE-LABlab(45.05, -36.55, 20.44)
CIE-LCHlch(45.05, 41.87, 150.79°)
OKLaboklab(51.38% -0.0988 0.0509)
OKLCHoklch(51.38% 0.111 152.8)
XYZxyz(8.8490, 14.5799, 8.3079)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287947 #79285A
analogous
#327928 #287947 #287970
triadic
#287947 #472879 #794728
tetradic
#287947 #283279 #79285A #797028
square
#287947 #283279 #79285A #797028
split-complementary
#287947 #702879 #792832
monochromatic
#0A1D11 #194B2C #287947 #37A762 #55C780

Accessibility & contrast

On white

5.36
#287947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#287947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287947
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287947#FFFFFF#000000##FFFFFF
##2879471.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#02776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287947;
/* rgb */ color: rgb(40, 121, 71);
/* oklch */ color: oklch(51.4% 0.111 152.8);
Tailwind
colors: {
  custom: {
    50: '#6ca07a',
    500: '#287947',
    950: '#000000',
  },
}
SCSS
$custom: #287947;
$custom-light: #6ca07a;
$custom-dark: #000000;
JSON
{
  "hex": "#287947",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 142.963,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51381,
    "c": 0.11109,
    "h": 152.8
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

primary
#287947
secondary
#AB5289
accent
#4EA4DA
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F09
muted
#7A7E7B

Preview Lab

Preview with #287947

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#287947 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva