#286A3C#286A3C

#286A3C is a mid, moderate green. Relative luminance 0.111; OKLCH L 46.9% C 0.100 H 150.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#286A3C
RGBrgb(40, 106, 60)
HSLhsl(138, 45%, 29%)
HSVhsv(138, 62%, 42%)
CMYKcmyk(62.3%, 0%, 43.4%, 58.4%)
CIE-LABlab(39.72, -32.17, 19.74)
CIE-LCHlch(39.72, 37.74, 148.46°)
OKLaboklab(46.94% -0.087 0.0489)
OKLCHoklch(46.94% 0.1 150.7)
XYZxyz(6.8442, 11.0848, 6.0530)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A3C #6A2856
analogous
#356A28 #286A3C #286A5D
triadic
#286A3C #3C286A #6A3C28
tetradic
#286A3C #28356A #6A2856 #6A5D28
square
#286A3C #28356A #6A2856 #6A5D28
split-complementary
#286A3C #5D286A #6A2835
monochromatic
#08160D #173E23 #286A3C #399655 #50BD71

Accessibility & contrast

On white

6.53
#286A3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#286A3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A3C
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A3C#FFFFFF#000000##FFFFFF
##286A3C1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6139
Deuteranopia (green-blind)
#625B3F
Tritanopia (blue-blind)
#15685F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286a3c;
/* rgb */ color: rgb(40, 106, 60);
/* oklch */ color: oklch(46.9% 0.100 150.7);
Tailwind
colors: {
  custom: {
    50: '#699572',
    500: '#286a3c',
    950: '#000000',
  },
}
SCSS
$custom: #286a3c;
$custom-light: #699572;
$custom-dark: #000000;
JSON
{
  "hex": "#286a3c",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 60
  },
  "hsl": {
    "h": 138.182,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46936,
    "c": 0.09984,
    "h": 150.7
  },
  "luminance": 0.11085
}

Semantic roles & 50–950 ramp

primary
#286A3C
secondary
#9D5186
accent
#53AED5
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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