#286740#286740

#286740 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.2% C 0.091 H 153.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#286740
RGBrgb(40, 103, 64)
HSLhsl(143, 44%, 28%)
HSVhsv(143, 61%, 40%)
CMYKcmyk(61.2%, 0%, 37.9%, 59.6%)
CIE-LABlab(38.76, -30.01, 16.13)
CIE-LCHlch(38.76, 34.07, 151.74°)
OKLaboklab(46.17% -0.0814 0.0405)
OKLCHoklch(46.17% 0.091 153.6)
XYZxyz(6.6502, 10.5212, 6.5298)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286740 #67284F
analogous
#2F6728 #286740 #28675F
triadic
#286740 #402867 #674028
tetradic
#286740 #282F67 #67284F #675F28
square
#286740 #282F67 #67284F #675F28
split-complementary
#286740 #5F2867 #67282F
monochromatic
#09160E #173B25 #286740 #39935B #4FBB78

Accessibility & contrast

On white

6.76
#286740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#286740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286740
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286740#FFFFFF#000000##FFFFFF
##2867401.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3D
Deuteranopia (green-blind)
#5E5942
Tritanopia (blue-blind)
#14665D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #286740;
/* rgb */ color: rgb(40, 103, 64);
/* oklch */ color: oklch(46.2% 0.091 153.6);
Tailwind
colors: {
  custom: {
    50: '#689375',
    500: '#286740',
    950: '#000000',
  },
}
SCSS
$custom: #286740;
$custom-light: #689375;
$custom-dark: #000000;
JSON
{
  "hex": "#286740",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 64
  },
  "hsl": {
    "h": 142.857,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46172,
    "c": 0.09094,
    "h": 153.6
  },
  "luminance": 0.10522
}

Semantic roles & 50–950 ramp

primary
#286740
secondary
#9A517E
accent
#54A3D4
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286740

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

Preview Lab → · Contrast checker → · Palette generator →

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