#286E40#286E40

#286E40 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.1% C 0.102 H 151.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#286E40
RGBrgb(40, 110, 64)
HSLhsl(141, 47%, 29%)
HSVhsv(141, 64%, 43%)
CMYKcmyk(63.6%, 0%, 41.8%, 56.9%)
CIE-LABlab(41.17, -33.16, 19.33)
CIE-LCHlch(41.17, 38.39, 149.76°)
OKLaboklab(48.15% -0.0897 0.0481)
OKLCHoklch(48.15% 0.102 151.8)
XYZxyz(7.3758, 11.9724, 6.7717)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E40 #6E2856
analogous
#336E28 #286E40 #286E63
triadic
#286E40 #40286E #6E4028
tetradic
#286E40 #28336E #6E2856 #6E6328
square
#286E40 #28336E #6E2856 #6E6328
split-complementary
#286E40 #63286E #6E2833
monochromatic
#08160D #184126 #286E40 #389B5A #51C077

Accessibility & contrast

On white

6.19
#286E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#286E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E40
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E40#FFFFFF#000000##FFFFFF
##286E401.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E653D
Deuteranopia (green-blind)
#655F43
Tritanopia (blue-blind)
#116C63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286e40;
/* rgb */ color: rgb(40, 110, 64);
/* oklch */ color: oklch(48.1% 0.102 151.8);
Tailwind
colors: {
  custom: {
    50: '#6a9875',
    500: '#286e40',
    950: '#000000',
  },
}
SCSS
$custom: #286e40;
$custom-light: #6a9875;
$custom-dark: #000000;
JSON
{
  "hex": "#286e40",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 64
  },
  "hsl": {
    "h": 140.571,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4815,
    "c": 0.10179,
    "h": 151.8
  },
  "luminance": 0.11973
}

Semantic roles & 50–950 ramp

primary
#286E40
secondary
#A05185
accent
#51A9D6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #286E40

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

Preview Lab → · Contrast checker → · Palette generator →

#286E40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva