#287646#287646

#287646 is a mid, moderate green. Relative luminance 0.139; OKLCH L 50.5% C 0.108 H 153.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#287646
RGBrgb(40, 118, 70)
HSLhsl(143, 49%, 31%)
HSVhsv(143, 66%, 46%)
CMYKcmyk(66.1%, 0%, 40.7%, 53.7%)
CIE-LABlab(44.02, -35.46, 19.64)
CIE-LCHlch(44.02, 40.53, 151.02°)
OKLaboklab(50.52% -0.0959 0.0489)
OKLCHoklch(50.52% 0.108 153)
XYZxyz(8.4583, 13.8493, 8.0206)
Luminance0.1385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287646 #762858
analogous
#317628 #287646 #28766D
triadic
#287646 #462876 #764628
tetradic
#287646 #283176 #762858 #766D28
square
#287646 #283176 #762858 #766D28
split-complementary
#287646 #6D2876 #762831
monochromatic
#091B10 #19482B #287646 #37A461 #54C57F

Accessibility & contrast

On white

5.57
#287646 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#287646 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287646
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287646#FFFFFF#000000##FFFFFF
##2876461.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C43
Deuteranopia (green-blind)
#6C6549
Tritanopia (blue-blind)
#06746A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287646;
/* rgb */ color: rgb(40, 118, 70);
/* oklch */ color: oklch(50.5% 0.108 153.0);
Tailwind
colors: {
  custom: {
    50: '#6b9e7a',
    500: '#287646',
    950: '#000000',
  },
}
SCSS
$custom: #287646;
$custom-light: #6b9e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#287646",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 70
  },
  "hsl": {
    "h": 143.077,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50522,
    "c": 0.10766,
    "h": 153
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#287646
secondary
#A85287
accent
#4FA4D9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287646

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

Preview Lab → · Contrast checker → · Palette generator →

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