#286B3C#286B3C

#286B3C is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.2% C 0.101 H 150.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#286B3C
RGBrgb(40, 107, 60)
HSLhsl(138, 46%, 29%)
HSVhsv(138, 63%, 42%)
CMYKcmyk(62.6%, 0%, 43.9%, 58%)
CIE-LABlab(40.07, -32.61, 20.19)
CIE-LCHlch(40.07, 38.36, 148.23°)
OKLaboklab(47.22% -0.0882 0.05)
OKLCHoklch(47.22% 0.101 150.5)
XYZxyz(6.9479, 11.2921, 6.0875)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B3C #6B2857
analogous
#366B28 #286B3C #286B5E
triadic
#286B3C #3C286B #6B3C28
tetradic
#286B3C #28366B #6B2857 #6B5E28
square
#286B3C #28366B #6B2857 #6B5E28
split-complementary
#286B3C #5E286B #6B2836
monochromatic
#08160C #173E23 #286B3C #399855 #50BE71

Accessibility & contrast

On white

6.44
#286B3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#286B3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B3C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B3C#FFFFFF#000000##FFFFFF
##286B3C1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6239
Deuteranopia (green-blind)
#635C3F
Tritanopia (blue-blind)
#15695F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b3c;
/* rgb */ color: rgb(40, 107, 60);
/* oklch */ color: oklch(47.2% 0.101 150.5);
Tailwind
colors: {
  custom: {
    50: '#699672',
    500: '#286b3c',
    950: '#000000',
  },
}
SCSS
$custom: #286b3c;
$custom-light: #699672;
$custom-dark: #000000;
JSON
{
  "hex": "#286b3c",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 60
  },
  "hsl": {
    "h": 137.91,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47219,
    "c": 0.10137,
    "h": 150.5
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#286B3C
secondary
#9D5187
accent
#53AED5
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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