#286D15#286D15

#286D15 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.138 H 140.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#286D15
RGBrgb(40, 109, 21)
HSLhsl(107, 68%, 25%)
HSVhsv(107, 81%, 43%)
CMYKcmyk(63.3%, 0%, 80.7%, 57.3%)
CIE-LABlab(40.31, -38.49, 39.68)
CIE-LCHlch(40.31, 55.28, 134.13°)
OKLaboklab(47.28% -0.1057 0.0888)
OKLCHoklch(47.28% 0.138 140)
XYZxyz(6.4788, 11.4419, 2.5764)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D15 #5A156D
analogous
#546D15 #286D15 #156D2E
triadic
#286D15 #15286D #6D1528
tetradic
#286D15 #15546D #5A156D #6D2E15
square
#286D15 #15546D #5A156D #6D2E15
split-complementary
#286D15 #2E156D #6D1554
monochromatic
#091A05 #153A0B #286D15 #3BA01F #4ED429

Accessibility & contrast

On white

6.39
#286D15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#286D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D15
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D15#FFFFFF#000000##FFFFFF
##286D151.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706201
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#1F695C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286d15;
/* rgb */ color: rgb(40, 109, 21);
/* oklch */ color: oklch(47.3% 0.138 140.0);
Tailwind
colors: {
  custom: {
    50: '#6c985a',
    500: '#286d15',
    950: '#000000',
  },
}
SCSS
$custom: #286d15;
$custom-light: #6c985a;
$custom-dark: #000000;
JSON
{
  "hex": "#286d15",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 21
  },
  "hsl": {
    "h": 107.045,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47278,
    "c": 0.138,
    "h": 140
  },
  "luminance": 0.11443
}

Semantic roles & 50–950 ramp

primary
#286D15
secondary
#8D3AA3
accent
#3DEBC5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286D15

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

Preview Lab → · Contrast checker → · Palette generator →

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