#286A40#286A40

#286A40 is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.096 H 152.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#286A40
RGBrgb(40, 106, 64)
HSLhsl(142, 45%, 29%)
HSVhsv(142, 62%, 42%)
CMYKcmyk(62.3%, 0%, 39.6%, 58.4%)
CIE-LABlab(39.80, -31.38, 17.51)
CIE-LCHlch(39.80, 35.94, 150.83°)
OKLaboklab(47.02% -0.085 0.0438)
OKLCHoklch(47.02% 0.096 152.8)
XYZxyz(6.9540, 11.1287, 6.6311)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A40 #6A2852
analogous
#316A28 #286A40 #286A61
triadic
#286A40 #40286A #6A4028
tetradic
#286A40 #28316A #6A2852 #6A6128
square
#286A40 #28316A #6A2852 #6A6128
split-complementary
#286A40 #61286A #6A2831
monochromatic
#08160D #173E25 #286A40 #39965B #50BD77

Accessibility & contrast

On white

6.51
#286A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#286A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A40
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A40#FFFFFF#000000##FFFFFF
##286A401.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A623D
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#13695F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286a40;
/* rgb */ color: rgb(40, 106, 64);
/* oklch */ color: oklch(47.0% 0.096 152.8);
Tailwind
colors: {
  custom: {
    50: '#699575',
    500: '#286a40',
    950: '#000000',
  },
}
SCSS
$custom: #286a40;
$custom-light: #699575;
$custom-dark: #000000;
JSON
{
  "hex": "#286a40",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 64
  },
  "hsl": {
    "h": 141.818,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.09562,
    "h": 152.8
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#286A40
secondary
#9D5181
accent
#53A6D5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286A40

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

Preview Lab → · Contrast checker → · Palette generator →

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