#286A2A#286A2A

#286A2A is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.6% C 0.118 H 143.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#286A2A
RGBrgb(40, 106, 42)
HSLhsl(122, 45%, 29%)
HSVhsv(122, 62%, 42%)
CMYKcmyk(62.3%, 0%, 60.4%, 58.4%)
CIE-LABlab(39.46, -35.12, 29.35)
CIE-LCHlch(39.46, 45.77, 140.11°)
OKLaboklab(46.63% -0.0953 0.0696)
OKLCHoklch(46.63% 0.118 143.9)
XYZxyz(6.4467, 10.9258, 3.9592)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A2A #6A2868
analogous
#476A28 #286A2A #286A4B
triadic
#286A2A #2A286A #6A2A28
tetradic
#286A2A #28476A #6A2868 #6A4B28
square
#286A2A #28476A #6A2868 #6A4B28
split-complementary
#286A2A #4B286A #6A2847
monochromatic
#081609 #173E18 #286A2A #39963C #50BD53

Accessibility & contrast

On white

6.59
#286A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#286A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A2A
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A2A#FFFFFF#000000##FFFFFF
##286A2A1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6024
Deuteranopia (green-blind)
#645B2F
Tritanopia (blue-blind)
#1C675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a2a;
/* rgb */ color: rgb(40, 106, 42);
/* oklch */ color: oklch(46.6% 0.118 143.9);
Tailwind
colors: {
  custom: {
    50: '#6a9566',
    500: '#286a2a',
    950: '#000000',
  },
}
SCSS
$custom: #286a2a;
$custom-light: #6a9566;
$custom-dark: #000000;
JSON
{
  "hex": "#286a2a",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 121.818,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46628,
    "c": 0.118,
    "h": 143.9
  },
  "luminance": 0.10926
}

Semantic roles & 50–950 ramp

primary
#286A2A
secondary
#9D519A
accent
#53D1D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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