#287643#287643

#287643 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.5% C 0.111 H 151.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#287643
RGBrgb(40, 118, 67)
HSLhsl(141, 49%, 31%)
HSVhsv(141, 66%, 46%)
CMYKcmyk(66.1%, 0%, 43.2%, 53.7%)
CIE-LABlab(43.96, -36.05, 21.27)
CIE-LCHlch(43.96, 41.86, 149.45°)
OKLaboklab(50.46% -0.0974 0.0527)
OKLCHoklch(50.46% 0.111 151.6)
XYZxyz(8.3660, 13.8124, 7.5343)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287643 #76285B
analogous
#347628 #287643 #28766A
triadic
#287643 #432876 #764328
tetradic
#287643 #283476 #76285B #766A28
square
#287643 #283476 #76285B #766A28
split-complementary
#287643 #6A2876 #762834
monochromatic
#091B0F #194829 #287643 #37A45D #54C57B

Accessibility & contrast

On white

5.58
#287643 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#287643 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287643
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287643#FFFFFF#000000##FFFFFF
##2876431.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C3F
Deuteranopia (green-blind)
#6C6546
Tritanopia (blue-blind)
#097469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287643;
/* rgb */ color: rgb(40, 118, 67);
/* oklch */ color: oklch(50.5% 0.111 151.6);
Tailwind
colors: {
  custom: {
    50: '#6b9e78',
    500: '#287643',
    950: '#000000',
  },
}
SCSS
$custom: #287643;
$custom-light: #6b9e78;
$custom-dark: #000000;
JSON
{
  "hex": "#287643",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 67
  },
  "hsl": {
    "h": 140.769,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50461,
    "c": 0.11072,
    "h": 151.6
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#287643
secondary
#A8528A
accent
#4FA9D9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287643

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

Preview Lab → · Contrast checker → · Palette generator →

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