#286E42#286E42

#286E42 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.2% C 0.100 H 152.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#286E42
RGBrgb(40, 110, 66)
HSLhsl(142, 47%, 29%)
HSVhsv(142, 64%, 43%)
CMYKcmyk(63.6%, 0%, 40%, 56.9%)
CIE-LABlab(41.21, -32.76, 18.22)
CIE-LCHlch(41.21, 37.49, 150.92°)
OKLaboklab(48.19% -0.0887 0.0455)
OKLCHoklch(48.19% 0.1 152.9)
XYZxyz(7.4338, 11.9956, 7.0768)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E42 #6E2854
analogous
#316E28 #286E42 #286E65
triadic
#286E42 #42286E #6E4228
tetradic
#286E42 #28316E #6E2854 #6E6528
square
#286E42 #28316E #6E2854 #6E6528
split-complementary
#286E42 #65286E #6E2831
monochromatic
#08160D #184127 #286E42 #389B5D #51C07A

Accessibility & contrast

On white

6.18
#286E42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#286E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E42
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E42#FFFFFF#000000##FFFFFF
##286E421.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E653F
Deuteranopia (green-blind)
#655F45
Tritanopia (blue-blind)
#0F6D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286e42;
/* rgb */ color: rgb(40, 110, 66);
/* oklch */ color: oklch(48.2% 0.100 152.9);
Tailwind
colors: {
  custom: {
    50: '#6a9877',
    500: '#286e42',
    950: '#000000',
  },
}
SCSS
$custom: #286e42;
$custom-light: #6a9877;
$custom-dark: #000000;
JSON
{
  "hex": "#286e42",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 66
  },
  "hsl": {
    "h": 142.286,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48192,
    "c": 0.0997,
    "h": 152.9
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#286E42
secondary
#A05183
accent
#51A5D6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #286E42

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

Preview Lab → · Contrast checker → · Palette generator →

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