#286C2A#286C2A

#286C2A is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.2% C 0.121 H 143.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#286C2A
RGBrgb(40, 108, 42)
HSLhsl(122, 46%, 29%)
HSVhsv(122, 63%, 42%)
CMYKcmyk(63%, 0%, 61.1%, 57.6%)
CIE-LABlab(40.15, -35.95, 30.17)
CIE-LCHlch(40.15, 46.93, 140.00°)
OKLaboklab(47.2% -0.0976 0.0713)
OKLCHoklch(47.2% 0.121 143.8)
XYZxyz(6.6552, 11.3428, 4.0287)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C2A #6C286A
analogous
#486C28 #286C2A #286C4C
triadic
#286C2A #2A286C #6C2A28
tetradic
#286C2A #28486C #6C286A #6C4C28
square
#286C2A #28486C #6C286A #6C4C28
split-complementary
#286C2A #4C286C #6C2848
monochromatic
#081609 #173F19 #286C2A #39993B #50BE53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286C2A#FFFFFF#000000##FFFFFF
##286C2A1.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)
#6E6223
Deuteranopia (green-blind)
#665C2F
Tritanopia (blue-blind)
#1B695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286c2a;
/* rgb */ color: rgb(40, 108, 42);
/* oklch */ color: oklch(47.2% 0.121 143.8);
Tailwind
colors: {
  custom: {
    50: '#6a9766',
    500: '#286c2a',
    950: '#000000',
  },
}
SCSS
$custom: #286c2a;
$custom-light: #6a9766;
$custom-dark: #000000;
JSON
{
  "hex": "#286c2a",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 42
  },
  "hsl": {
    "h": 121.765,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47203,
    "c": 0.12086,
    "h": 143.8
  },
  "luminance": 0.11343
}

Semantic roles & 50–950 ramp

primary
#286C2A
secondary
#9E519C
accent
#52D2D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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