#286E2C#286E2C

#286E2C is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.122 H 144.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#286E2C
RGBrgb(40, 110, 44)
HSLhsl(123, 47%, 29%)
HSVhsv(123, 64%, 43%)
CMYKcmyk(63.6%, 0%, 60%, 56.9%)
CIE-LABlab(40.87, -36.50, 29.98)
CIE-LCHlch(40.87, 47.24, 140.60°)
OKLaboklab(47.8% -0.099 0.0711)
OKLCHoklch(47.8% 0.122 144.3)
XYZxyz(6.9052, 11.7842, 4.2931)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E2C #6E286A
analogous
#476E28 #286E2C #286E4F
triadic
#286E2C #2C286E #6E2C28
tetradic
#286E2C #28476E #6E286A #6E4F28
square
#286E2C #28476E #6E286A #6E4F28
split-complementary
#286E2C #4F286E #6E2847
monochromatic
#081609 #18411A #286E2C #389B3E #51C057

Accessibility & contrast

On white

6.26
#286E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#286E2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E2C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E2C#FFFFFF#000000##FFFFFF
##286E2C1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706425
Deuteranopia (green-blind)
#675E31
Tritanopia (blue-blind)
#1A6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e2c;
/* rgb */ color: rgb(40, 110, 44);
/* oklch */ color: oklch(47.8% 0.122 144.3);
Tailwind
colors: {
  custom: {
    50: '#6b9867',
    500: '#286e2c',
    950: '#000000',
  },
}
SCSS
$custom: #286e2c;
$custom-light: #6b9867;
$custom-dark: #000000;
JSON
{
  "hex": "#286e2c",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 44
  },
  "hsl": {
    "h": 123.429,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.47804,
    "c": 0.12186,
    "h": 144.3
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#286E2C
secondary
#A0519C
accent
#51CFD6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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