#286B2A#286B2A

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

Color values

HEX#286B2A
RGBrgb(40, 107, 42)
HSLhsl(122, 46%, 29%)
HSVhsv(122, 63%, 42%)
CMYKcmyk(62.6%, 0%, 60.7%, 58%)
CIE-LABlab(39.80, -35.54, 29.76)
CIE-LCHlch(39.80, 46.35, 140.05°)
OKLaboklab(46.92% -0.0964 0.0704)
OKLCHoklch(46.92% 0.119 143.9)
XYZxyz(6.5503, 11.1331, 3.9937)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B2A #6B2869
analogous
#486B28 #286B2A #286B4C
triadic
#286B2A #2A286B #6B2A28
tetradic
#286B2A #28486B #6B2869 #6B4C28
square
#286B2A #28486B #6B2869 #6B4C28
split-complementary
#286B2A #4C286B #6B2848
monochromatic
#081609 #173E19 #286B2A #39983B #50BE53

Accessibility & contrast

On white

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

On black

3.23
#286B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##286B2A#FFFFFF#000000##FFFFFF
##286B2A1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6123
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#1B685D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b2a;
/* rgb */ color: rgb(40, 107, 42);
/* oklch */ color: oklch(46.9% 0.119 143.9);
Tailwind
colors: {
  custom: {
    50: '#6a9666',
    500: '#286b2a',
    950: '#000000',
  },
}
SCSS
$custom: #286b2a;
$custom-light: #6a9666;
$custom-dark: #000000;
JSON
{
  "hex": "#286b2a",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 42
  },
  "hsl": {
    "h": 121.791,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46916,
    "c": 0.11943,
    "h": 143.9
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#286B2A
secondary
#9D519B
accent
#53D1D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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