#286C42#286C42

#286C42 is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.6% C 0.097 H 153.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#286C42
RGBrgb(40, 108, 66)
HSLhsl(143, 46%, 29%)
HSVhsv(143, 63%, 42%)
CMYKcmyk(63%, 0%, 38.9%, 57.6%)
CIE-LABlab(40.52, -31.87, 17.31)
CIE-LCHlch(40.52, 36.27, 151.49°)
OKLaboklab(47.63% -0.0864 0.0433)
OKLCHoklch(47.63% 0.097 153.4)
XYZxyz(7.2204, 11.5689, 7.0057)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C42 #6C2852
analogous
#306C28 #286C42 #286C64
triadic
#286C42 #42286C #6C4228
tetradic
#286C42 #28306C #6C2852 #6C6428
square
#286C42 #28306C #6C2852 #6C6428
split-complementary
#286C42 #64286C #6C2830
monochromatic
#08160E #173F27 #286C42 #39995D #50BE7A

Accessibility & contrast

On white

6.34
#286C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#286C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C42
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C42#FFFFFF#000000##FFFFFF
##286C421.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633F
Deuteranopia (green-blind)
#635D45
Tritanopia (blue-blind)
#116B61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286c42;
/* rgb */ color: rgb(40, 108, 66);
/* oklch */ color: oklch(47.6% 0.097 153.4);
Tailwind
colors: {
  custom: {
    50: '#699776',
    500: '#286c42',
    950: '#000000',
  },
}
SCSS
$custom: #286c42;
$custom-light: #699776;
$custom-dark: #000000;
JSON
{
  "hex": "#286c42",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 66
  },
  "hsl": {
    "h": 142.941,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47629,
    "c": 0.09663,
    "h": 153.4
  },
  "luminance": 0.1157
}

Semantic roles & 50–950 ramp

primary
#286C42
secondary
#9E5181
accent
#52A3D6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286C42

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

Preview Lab → · Contrast checker → · Palette generator →

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