#286A42#286A42

#286A42 is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.1% C 0.094 H 153.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#286A42
RGBrgb(40, 106, 66)
HSLhsl(144, 45%, 29%)
HSVhsv(144, 62%, 42%)
CMYKcmyk(62.3%, 0%, 37.7%, 58.4%)
CIE-LABlab(39.84, -30.97, 16.39)
CIE-LCHlch(39.84, 35.04, 152.11°)
OKLaboklab(47.07% -0.084 0.0411)
OKLCHoklch(47.07% 0.094 153.9)
XYZxyz(7.0119, 11.1519, 6.9362)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A42 #6A2850
analogous
#2F6A28 #286A42 #286A63
triadic
#286A42 #42286A #6A4228
tetradic
#286A42 #282F6A #6A2850 #6A6328
square
#286A42 #282F6A #6A2850 #6A6328
split-complementary
#286A42 #63286A #6A282F
monochromatic
#08160E #173E26 #286A42 #39965E #50BD7B

Accessibility & contrast

On white

6.50
#286A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286A42
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A42#FFFFFF#000000##FFFFFF
##286A421.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A623F
Deuteranopia (green-blind)
#615B45
Tritanopia (blue-blind)
#126960
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286a42;
/* rgb */ color: rgb(40, 106, 66);
/* oklch */ color: oklch(47.1% 0.094 153.9);
Tailwind
colors: {
  custom: {
    50: '#699576',
    500: '#286a42',
    950: '#000000',
  },
}
SCSS
$custom: #286a42;
$custom-light: #699576;
$custom-dark: #000000;
JSON
{
  "hex": "#286a42",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 66
  },
  "hsl": {
    "h": 143.636,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47065,
    "c": 0.09353,
    "h": 153.9
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#286A42
secondary
#9D517F
accent
#53A2D5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286A42

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

Preview Lab → · Contrast checker → · Palette generator →

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