#286C2F#286C2F

#286C2F is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.3% C 0.116 H 145.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#286C2F
RGBrgb(40, 108, 47)
HSLhsl(126, 46%, 29%)
HSVhsv(126, 63%, 42%)
CMYKcmyk(63%, 0%, 56.5%, 57.6%)
CIE-LABlab(40.21, -35.24, 27.62)
CIE-LCHlch(40.21, 44.78, 141.91°)
OKLaboklab(47.28% -0.0954 0.0662)
OKLCHoklch(47.28% 0.116 145.3)
XYZxyz(6.7503, 11.3808, 4.5298)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C2F #6C2865
analogous
#436C28 #286C2F #286C51
triadic
#286C2F #2F286C #6C2F28
tetradic
#286C2F #28436C #6C2865 #6C5128
square
#286C2F #28436C #6C2865 #6C5128
split-complementary
#286C2F #51286C #6C2843
monochromatic
#08160A #173F1C #286C2F #399942 #50BE5B

Accessibility & contrast

On white

6.41
#286C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#286C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C2F
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C2F#FFFFFF#000000##FFFFFF
##286C2F1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6229
Deuteranopia (green-blind)
#655C34
Tritanopia (blue-blind)
#1A695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286c2f;
/* rgb */ color: rgb(40, 108, 47);
/* oklch */ color: oklch(47.3% 0.116 145.3);
Tailwind
colors: {
  custom: {
    50: '#6a9769',
    500: '#286c2f',
    950: '#000000',
  },
}
SCSS
$custom: #286c2f;
$custom-light: #6a9769;
$custom-dark: #000000;
JSON
{
  "hex": "#286c2f",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 47
  },
  "hsl": {
    "h": 126.176,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47275,
    "c": 0.11614,
    "h": 145.3
  },
  "luminance": 0.11381
}

Semantic roles & 50–950 ramp

primary
#286C2F
secondary
#9E5197
accent
#52C8D6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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