#286D2D#286D2D

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

Color values

HEX#286D2D
RGBrgb(40, 109, 45)
HSLhsl(124, 46%, 29%)
HSVhsv(124, 63%, 43%)
CMYKcmyk(63.3%, 0%, 58.7%, 57.3%)
CIE-LABlab(40.54, -35.95, 29.07)
CIE-LCHlch(40.54, 46.23, 141.04°)
OKLaboklab(47.53% -0.0974 0.0692)
OKLCHoklch(47.53% 0.119 144.6)
XYZxyz(6.8170, 11.5772, 4.3575)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D2D #6D2868
analogous
#466D28 #286D2D #286D50
triadic
#286D2D #2D286D #6D2D28
tetradic
#286D2D #28466D #6D2868 #6D5028
square
#286D2D #28466D #6D2868 #6D5028
split-complementary
#286D2D #50286D #6D2846
monochromatic
#081609 #18401B #286D2D #389A3F #50BF58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286D2D#FFFFFF#000000##FFFFFF
##286D2D1.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)
#6F6327
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#1A6A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286d2d;
/* rgb */ color: rgb(40, 109, 45);
/* oklch */ color: oklch(47.5% 0.119 144.6);
Tailwind
colors: {
  custom: {
    50: '#6a9768',
    500: '#286d2d',
    950: '#000000',
  },
}
SCSS
$custom: #286d2d;
$custom-light: #6a9768;
$custom-dark: #000000;
JSON
{
  "hex": "#286d2d",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 124.348,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.11949,
    "h": 144.6
  },
  "luminance": 0.11578
}

Semantic roles & 50–950 ramp

primary
#286D2D
secondary
#9F519A
accent
#52CCD6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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