#286E17#286E17

#286E17 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.138 H 140.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#286E17
RGBrgb(40, 110, 23)
HSLhsl(108, 65%, 26%)
HSVhsv(108, 79%, 43%)
CMYKcmyk(63.6%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.68, -38.73, 39.30)
CIE-LCHlch(40.68, 55.18, 134.58°)
OKLaboklab(47.58% -0.1062 0.0883)
OKLCHoklch(47.58% 0.138 140.3)
XYZxyz(6.6054, 11.6642, 2.7138)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E17 #5D176E
analogous
#536E17 #286E17 #176E31
triadic
#286E17 #17286E #6E1728
tetradic
#286E17 #17536E #5D176E #6E3117
square
#286E17 #17536E #5D176E #6E3117
split-complementary
#286E17 #31176E #6E1753
monochromatic
#091905 #163B0C #286E17 #3AA122 #4DD32C

Accessibility & contrast

On white

6.30
#286E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#286E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E17
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E17#FFFFFF#000000##FFFFFF
##286E171.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#1E6A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e17;
/* rgb */ color: rgb(40, 110, 23);
/* oklch */ color: oklch(47.6% 0.138 140.3);
Tailwind
colors: {
  custom: {
    50: '#6c985b',
    500: '#286e17',
    950: '#000000',
  },
}
SCSS
$custom: #286e17;
$custom-light: #6c985b;
$custom-dark: #000000;
JSON
{
  "hex": "#286e17",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 108.276,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47581,
    "c": 0.1381,
    "h": 140.3
  },
  "luminance": 0.11665
}

Semantic roles & 50–950 ramp

primary
#286E17
secondary
#903DA4
accent
#3FE8C7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286E17

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

Preview Lab → · Contrast checker → · Palette generator →

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