#287640#287640

#287640 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.4% C 0.114 H 150.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#287640
RGBrgb(40, 118, 64)
HSLhsl(138, 49%, 31%)
HSVhsv(138, 66%, 46%)
CMYKcmyk(66.1%, 0%, 45.8%, 53.7%)
CIE-LABlab(43.91, -36.61, 22.90)
CIE-LCHlch(43.91, 43.18, 147.97°)
OKLaboklab(50.4% -0.0988 0.0564)
OKLCHoklch(50.4% 0.114 150.3)
XYZxyz(8.2783, 13.7773, 7.0725)
Luminance0.1378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287640 #76285E
analogous
#377628 #287640 #287667
triadic
#287640 #402876 #764028
tetradic
#287640 #283776 #76285E #766728
square
#287640 #283776 #76285E #766728
split-complementary
#287640 #672876 #762837
monochromatic
#091B0E #194827 #287640 #37A459 #54C576

Accessibility & contrast

On white

5.59
#287640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287640
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287640#FFFFFF#000000##FFFFFF
##2876401.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776C3C
Deuteranopia (green-blind)
#6D6544
Tritanopia (blue-blind)
#0C7469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287640;
/* rgb */ color: rgb(40, 118, 64);
/* oklch */ color: oklch(50.4% 0.114 150.3);
Tailwind
colors: {
  custom: {
    50: '#6b9e75',
    500: '#287640',
    950: '#000000',
  },
}
SCSS
$custom: #287640;
$custom-light: #6b9e75;
$custom-dark: #000000;
JSON
{
  "hex": "#287640",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 64
  },
  "hsl": {
    "h": 138.462,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50403,
    "c": 0.11379,
    "h": 150.3
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#287640
secondary
#A8528D
accent
#4FAED9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #287640

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

Preview Lab → · Contrast checker → · Palette generator →

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