#286A28#286A28

#286A28 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.6% C 0.120 H 143.4°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#286A28
RGBrgb(40, 106, 40)
HSLhsl(120, 45%, 29%)
HSVhsv(120, 62%, 42%)
CMYKcmyk(62.3%, 0%, 62.3%, 58.4%)
CIE-LABlab(39.43, -35.39, 30.35)
CIE-LCHlch(39.43, 46.62, 139.38°)
OKLaboklab(46.6% -0.0961 0.0715)
OKLCHoklch(46.6% 0.12 143.4)
XYZxyz(6.4118, 10.9118, 3.7754)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A28 #6A286A
analogous
#496A28 #286A28 #286A49
triadic
#286A28 #28286A #6A2828
tetradic
#286A28 #28496A #6A286A #6A4928
square
#286A28 #28496A #6A286A #6A4928
split-complementary
#286A28 #49286A #6A2849
monochromatic
#081608 #173E17 #286A28 #399639 #50BD50

Accessibility & contrast

On white

6.60
#286A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#286A28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A28
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A28#FFFFFF#000000##FFFFFF
##286A281.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6021
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#1C675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a28;
/* rgb */ color: rgb(40, 106, 40);
/* oklch */ color: oklch(46.6% 0.120 143.4);
Tailwind
colors: {
  custom: {
    50: '#6a9564',
    500: '#286a28',
    950: '#000000',
  },
}
SCSS
$custom: #286a28;
$custom-light: #6a9564;
$custom-dark: #000000;
JSON
{
  "hex": "#286a28",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46601,
    "c": 0.11984,
    "h": 143.4
  },
  "luminance": 0.10912
}

Semantic roles & 50–950 ramp

primary
#286A28
secondary
#9D519D
accent
#53D5D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #286A28

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

Preview Lab → · Contrast checker → · Palette generator →

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