#286D2E#286D2E

#286D2E is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.5% C 0.119 H 144.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#286D2E
RGBrgb(40, 109, 46)
HSLhsl(125, 46%, 29%)
HSVhsv(125, 63%, 43%)
CMYKcmyk(63.3%, 0%, 57.8%, 57.3%)
CIE-LABlab(40.55, -35.81, 28.55)
CIE-LCHlch(40.55, 45.80, 141.43°)
OKLaboklab(47.55% -0.097 0.0681)
OKLCHoklch(47.55% 0.119 144.9)
XYZxyz(6.8364, 11.5850, 4.4601)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D2E #6D2867
analogous
#456D28 #286D2E #286D51
triadic
#286D2E #2E286D #6D2E28
tetradic
#286D2E #28456D #6D2867 #6D5128
square
#286D2E #28456D #6D2867 #6D5128
split-complementary
#286D2E #51286D #6D2845
monochromatic
#081609 #18401B #286D2E #389A41 #50BF5A

Accessibility & contrast

On white

6.33
#286D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#286D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D2E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D2E#FFFFFF#000000##FFFFFF
##286D2E1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6328
Deuteranopia (green-blind)
#665D33
Tritanopia (blue-blind)
#196A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286d2e;
/* rgb */ color: rgb(40, 109, 46);
/* oklch */ color: oklch(47.5% 0.119 144.9);
Tailwind
colors: {
  custom: {
    50: '#6a9768',
    500: '#286d2e',
    950: '#000000',
  },
}
SCSS
$custom: #286d2e;
$custom-light: #6a9768;
$custom-dark: #000000;
JSON
{
  "hex": "#286d2e",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 46
  },
  "hsl": {
    "h": 125.217,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47546,
    "c": 0.11855,
    "h": 144.9
  },
  "luminance": 0.11586
}

Semantic roles & 50–950 ramp

primary
#286D2E
secondary
#9F5199
accent
#52CAD6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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