#287440#287440

#287440 is a mid, moderate green. Relative luminance 0.133; OKLCH L 49.8% C 0.111 H 150.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#287440
RGBrgb(40, 116, 64)
HSLhsl(139, 49%, 31%)
HSVhsv(139, 66%, 45%)
CMYKcmyk(65.5%, 0%, 44.8%, 54.5%)
CIE-LABlab(43.23, -35.76, 22.02)
CIE-LCHlch(43.23, 41.99, 148.38°)
OKLaboklab(49.84% -0.0966 0.0543)
OKLCHoklch(49.84% 0.111 150.6)
XYZxyz(8.0453, 13.3113, 6.9948)
Luminance0.1331 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287440 #74285C
analogous
#367428 #287440 #287466
triadic
#287440 #402874 #744028
tetradic
#287440 #283674 #74285C #746628
square
#287440 #283674 #74285C #746628
split-complementary
#287440 #662874 #742836
monochromatic
#09190E #184627 #287440 #38A259 #53C476

Accessibility & contrast

On white

5.73
#287440 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#287440 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287440
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287440#FFFFFF#000000##FFFFFF
##2874401.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756A3C
Deuteranopia (green-blind)
#6B6343
Tritanopia (blue-blind)
#0D7267
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287440;
/* rgb */ color: rgb(40, 116, 64);
/* oklch */ color: oklch(49.8% 0.111 150.6);
Tailwind
colors: {
  custom: {
    50: '#6b9d75',
    500: '#287440',
    950: '#000000',
  },
}
SCSS
$custom: #287440;
$custom-light: #6b9d75;
$custom-dark: #000000;
JSON
{
  "hex": "#287440",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 64
  },
  "hsl": {
    "h": 138.947,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4984,
    "c": 0.11082,
    "h": 150.6
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#287440
secondary
#A6528B
accent
#50ADD8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #287440

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

Preview Lab → · Contrast checker → · Palette generator →

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