#286B2B#286B2B

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

Color values

HEX#286B2B
RGBrgb(40, 107, 43)
HSLhsl(123, 46%, 29%)
HSVhsv(123, 63%, 42%)
CMYKcmyk(62.6%, 0%, 59.8%, 58%)
CIE-LABlab(39.82, -35.40, 29.26)
CIE-LCHlch(39.82, 45.93, 140.43°)
OKLaboklab(46.93% -0.096 0.0694)
OKLCHoklch(46.93% 0.119 144.1)
XYZxyz(6.5684, 11.1403, 4.0892)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B2B #6B2868
analogous
#476B28 #286B2B #286B4D
triadic
#286B2B #2B286B #6B2B28
tetradic
#286B2B #28476B #6B2868 #6B4D28
square
#286B2B #28476B #6B2868 #6B4D28
split-complementary
#286B2B #4D286B #6B2847
monochromatic
#081609 #173E19 #286B2B #39983D #50BE55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286B2B#FFFFFF#000000##FFFFFF
##286B2B1.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)
#6D6125
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#1B685D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b2b;
/* rgb */ color: rgb(40, 107, 43);
/* oklch */ color: oklch(46.9% 0.119 144.1);
Tailwind
colors: {
  custom: {
    50: '#6a9666',
    500: '#286b2b',
    950: '#000000',
  },
}
SCSS
$custom: #286b2b;
$custom-light: #6a9666;
$custom-dark: #000000;
JSON
{
  "hex": "#286b2b",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 43
  },
  "hsl": {
    "h": 122.687,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4693,
    "c": 0.11851,
    "h": 144.1
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

primary
#286B2B
secondary
#9D519A
accent
#53CFD5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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