#286C2B#286C2B

#286C2B is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.2% C 0.120 H 144.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#286C2B
RGBrgb(40, 108, 43)
HSLhsl(123, 46%, 29%)
HSVhsv(123, 63%, 42%)
CMYKcmyk(63%, 0%, 60.2%, 57.6%)
CIE-LABlab(40.16, -35.81, 29.67)
CIE-LCHlch(40.16, 46.51, 140.36°)
OKLaboklab(47.22% -0.0972 0.0703)
OKLCHoklch(47.22% 0.12 144.1)
XYZxyz(6.6733, 11.3500, 4.1241)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C2B #6C2869
analogous
#476C28 #286C2B #286C4D
triadic
#286C2B #2B286C #6C2B28
tetradic
#286C2B #28476C #6C2869 #6C4D28
square
#286C2B #28476C #6C2869 #6C4D28
split-complementary
#286C2B #4D286C #6C2847
monochromatic
#081609 #173F19 #286C2B #39993D #50BE55

Accessibility & contrast

On white

6.42
#286C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#286C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C2B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C2B#FFFFFF#000000##FFFFFF
##286C2B1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6225
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#1B695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286c2b;
/* rgb */ color: rgb(40, 108, 43);
/* oklch */ color: oklch(47.2% 0.120 144.1);
Tailwind
colors: {
  custom: {
    50: '#6a9766',
    500: '#286c2b',
    950: '#000000',
  },
}
SCSS
$custom: #286c2b;
$custom-light: #6a9766;
$custom-dark: #000000;
JSON
{
  "hex": "#286c2b",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 43
  },
  "hsl": {
    "h": 122.647,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47217,
    "c": 0.11994,
    "h": 144.1
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#286C2B
secondary
#9E519B
accent
#52D0D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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