#286B28#286B28

#286B28 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.121 H 143.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#286B28
RGBrgb(40, 107, 40)
HSLhsl(120, 46%, 29%)
HSVhsv(120, 63%, 42%)
CMYKcmyk(62.6%, 0%, 62.6%, 58%)
CIE-LABlab(39.78, -35.80, 30.76)
CIE-LCHlch(39.78, 47.20, 139.33°)
OKLaboklab(46.89% -0.0973 0.0724)
OKLCHoklch(46.89% 0.121 143.3)
XYZxyz(6.5154, 11.1191, 3.8099)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B28 #6B286B
analogous
#4A6B28 #286B28 #286B4A
triadic
#286B28 #28286B #6B2828
tetradic
#286B28 #284A6B #6B286B #6B4A28
square
#286B28 #284A6B #6B286B #6B4A28
split-complementary
#286B28 #4A286B #6B284A
monochromatic
#081608 #173E17 #286B28 #399839 #50BE50

Accessibility & contrast

On white

6.51
#286B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#286B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B28
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B28#FFFFFF#000000##FFFFFF
##286B281.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6121
Deuteranopia (green-blind)
#655C2D
Tritanopia (blue-blind)
#1C685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b28;
/* rgb */ color: rgb(40, 107, 40);
/* oklch */ color: oklch(46.9% 0.121 143.3);
Tailwind
colors: {
  custom: {
    50: '#6a9664',
    500: '#286b28',
    950: '#000000',
  },
}
SCSS
$custom: #286b28;
$custom-light: #6a9664;
$custom-dark: #000000;
JSON
{
  "hex": "#286b28",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46889,
    "c": 0.12126,
    "h": 143.3
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #286B28

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

Preview Lab → · Contrast checker → · Palette generator →

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