#286A2E#286A2E

#286A2E is a mid, moderate green. Relative luminance 0.110; OKLCH L 46.7% C 0.114 H 145.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#286A2E
RGBrgb(40, 106, 46)
HSLhsl(125, 45%, 29%)
HSVhsv(125, 62%, 42%)
CMYKcmyk(62.3%, 0%, 56.6%, 58.4%)
CIE-LABlab(39.51, -34.55, 27.30)
CIE-LCHlch(39.51, 44.04, 141.68°)
OKLaboklab(46.69% -0.0936 0.0654)
OKLCHoklch(46.69% 0.114 145.1)
XYZxyz(6.5219, 10.9558, 4.3552)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A2E #6A2864
analogous
#436A28 #286A2E #286A4F
triadic
#286A2E #2E286A #6A2E28
tetradic
#286A2E #28436A #6A2864 #6A4F28
square
#286A2E #28436A #6A2864 #6A4F28
split-complementary
#286A2E #4F286A #6A2843
monochromatic
#08160A #173E1B #286A2E #399641 #50BD5A

Accessibility & contrast

On white

6.58
#286A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286A2E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A2E#FFFFFF#000000##FFFFFF
##286A2E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6129
Deuteranopia (green-blind)
#635B32
Tritanopia (blue-blind)
#1B675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a2e;
/* rgb */ color: rgb(40, 106, 46);
/* oklch */ color: oklch(46.7% 0.114 145.1);
Tailwind
colors: {
  custom: {
    50: '#6a9568',
    500: '#286a2e',
    950: '#000000',
  },
}
SCSS
$custom: #286a2e;
$custom-light: #6a9568;
$custom-dark: #000000;
JSON
{
  "hex": "#286a2e",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 46
  },
  "hsl": {
    "h": 125.455,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46687,
    "c": 0.11419,
    "h": 145.1
  },
  "luminance": 0.10956
}

Semantic roles & 50–950 ramp

primary
#286A2E
secondary
#9D5196
accent
#53C9D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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