#286B2E#286B2E

#286B2E is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.0% C 0.116 H 145.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#286B2E
RGBrgb(40, 107, 46)
HSLhsl(125, 46%, 29%)
HSVhsv(125, 63%, 42%)
CMYKcmyk(62.6%, 0%, 57%, 58%)
CIE-LABlab(39.85, -34.97, 27.72)
CIE-LCHlch(39.85, 44.63, 141.60°)
OKLaboklab(46.97% -0.0947 0.0663)
OKLCHoklch(46.97% 0.116 145)
XYZxyz(6.6255, 11.1631, 4.3898)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B2E #6B2865
analogous
#446B28 #286B2E #286B50
triadic
#286B2E #2E286B #6B2E28
tetradic
#286B2E #28446B #6B2865 #6B5028
square
#286B2E #28446B #6B2865 #6B5028
split-complementary
#286B2E #50286B #6B2844
monochromatic
#08160A #173E1B #286B2E #399841 #50BE5A

Accessibility & contrast

On white

6.50
#286B2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#286B2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B2E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B2E#FFFFFF#000000##FFFFFF
##286B2E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6128
Deuteranopia (green-blind)
#645C33
Tritanopia (blue-blind)
#1A685D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b2e;
/* rgb */ color: rgb(40, 107, 46);
/* oklch */ color: oklch(47.0% 0.116 145.0);
Tailwind
colors: {
  custom: {
    50: '#6a9668',
    500: '#286b2e',
    950: '#000000',
  },
}
SCSS
$custom: #286b2e;
$custom-light: #6a9668;
$custom-dark: #000000;
JSON
{
  "hex": "#286b2e",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 46
  },
  "hsl": {
    "h": 125.373,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46973,
    "c": 0.11564,
    "h": 145
  },
  "luminance": 0.11164
}

Semantic roles & 50–950 ramp

primary
#286B2E
secondary
#9D5197
accent
#53CAD5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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