#286A3F#286A3F

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

Color values

HEX#286A3F
RGBrgb(40, 106, 63)
HSLhsl(141, 45%, 29%)
HSVhsv(141, 62%, 42%)
CMYKcmyk(62.3%, 0%, 40.6%, 58.4%)
CIE-LABlab(39.78, -31.58, 18.07)
CIE-LCHlch(39.78, 36.39, 150.22°)
OKLaboklab(47% -0.0855 0.0451)
OKLCHoklch(47% 0.097 152.2)
XYZxyz(6.9258, 11.1174, 6.4826)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A3F #6A2853
analogous
#326A28 #286A3F #286A60
triadic
#286A3F #3F286A #6A3F28
tetradic
#286A3F #28326A #6A2853 #6A6028
square
#286A3F #28326A #6A2853 #6A6028
split-complementary
#286A3F #60286A #6A2832
monochromatic
#08160D #173E25 #286A3F #399659 #50BD76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286A3F#FFFFFF#000000##FFFFFF
##286A3F1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A613C
Deuteranopia (green-blind)
#615B42
Tritanopia (blue-blind)
#13685F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286a3f;
/* rgb */ color: rgb(40, 106, 63);
/* oklch */ color: oklch(47.0% 0.097 152.2);
Tailwind
colors: {
  custom: {
    50: '#699574',
    500: '#286a3f',
    950: '#000000',
  },
}
SCSS
$custom: #286a3f;
$custom-light: #699574;
$custom-dark: #000000;
JSON
{
  "hex": "#286a3f",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 63
  },
  "hsl": {
    "h": 140.909,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46999,
    "c": 0.09667,
    "h": 152.2
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#286A3F
secondary
#9D5182
accent
#53A8D5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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