#286728#286728

#286728 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.116 H 143.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#286728
RGBrgb(40, 103, 40)
HSLhsl(120, 44%, 28%)
HSVhsv(120, 61%, 40%)
CMYKcmyk(61.2%, 0%, 61.2%, 59.6%)
CIE-LABlab(38.38, -34.14, 29.14)
CIE-LCHlch(38.38, 44.88, 139.52°)
OKLaboklab(45.74% -0.0928 0.0689)
OKLCHoklch(45.74% 0.116 143.4)
XYZxyz(6.1080, 10.3043, 3.6741)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286728 #672867
analogous
#476728 #286728 #286747
triadic
#286728 #282867 #672828
tetradic
#286728 #284767 #672867 #674728
square
#286728 #284767 #672867 #674728
split-complementary
#286728 #472867 #672847
monochromatic
#091609 #173B17 #286728 #399339 #4FBB4F

Accessibility & contrast

On white

6.86
#286728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#286728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286728
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286728#FFFFFF#000000##FFFFFF
##2867281.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#1D6459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286728;
/* rgb */ color: rgb(40, 103, 40);
/* oklch */ color: oklch(45.7% 0.116 143.4);
Tailwind
colors: {
  custom: {
    50: '#699364',
    500: '#286728',
    950: '#000000',
  },
}
SCSS
$custom: #286728;
$custom-light: #699364;
$custom-dark: #000000;
JSON
{
  "hex": "#286728",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.45737,
    "c": 0.11555,
    "h": 143.4
  },
  "luminance": 0.10305
}

Semantic roles & 50–950 ramp

primary
#286728
secondary
#9A519A
accent
#54D4D4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #286728

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

Preview Lab → · Contrast checker → · Palette generator →

#286728 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva