#286C2D#286C2D

#286C2D is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.2% C 0.118 H 144.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#286C2D
RGBrgb(40, 108, 45)
HSLhsl(124, 46%, 29%)
HSVhsv(124, 63%, 42%)
CMYKcmyk(63%, 0%, 58.3%, 57.6%)
CIE-LABlab(40.19, -35.54, 28.65)
CIE-LCHlch(40.19, 45.65, 141.12°)
OKLaboklab(47.25% -0.0963 0.0683)
OKLCHoklch(47.25% 0.118 144.7)
XYZxyz(6.7109, 11.3651, 4.3221)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C2D #6C2867
analogous
#456C28 #286C2D #286C4F
triadic
#286C2D #2D286C #6C2D28
tetradic
#286C2D #28456C #6C2867 #6C4F28
square
#286C2D #28456C #6C2867 #6C4F28
split-complementary
#286C2D #4F286C #6C2845
monochromatic
#081609 #173F1A #286C2D #399940 #50BE58

Accessibility & contrast

On white

6.42
#286C2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#286C2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C2D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C2D#FFFFFF#000000##FFFFFF
##286C2D1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6227
Deuteranopia (green-blind)
#655C32
Tritanopia (blue-blind)
#1A695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286c2d;
/* rgb */ color: rgb(40, 108, 45);
/* oklch */ color: oklch(47.2% 0.118 144.7);
Tailwind
colors: {
  custom: {
    50: '#6a9768',
    500: '#286c2d',
    950: '#000000',
  },
}
SCSS
$custom: #286c2d;
$custom-light: #6a9768;
$custom-dark: #000000;
JSON
{
  "hex": "#286c2d",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 45
  },
  "hsl": {
    "h": 124.412,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.11805,
    "h": 144.7
  },
  "luminance": 0.11366
}

Semantic roles & 50–950 ramp

primary
#286C2D
secondary
#9E5199
accent
#52CCD6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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