#286B17#286B17

#286B17 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.134 H 140.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#286B17
RGBrgb(40, 107, 23)
HSLhsl(108, 65%, 25%)
HSVhsv(108, 79%, 42%)
CMYKcmyk(62.6%, 0%, 78.5%, 58%)
CIE-LABlab(39.63, -37.56, 38.26)
CIE-LCHlch(39.63, 53.62, 134.47°)
OKLaboklab(46.71% -0.103 0.0861)
OKLCHoklch(46.71% 0.134 140.1)
XYZxyz(6.2871, 11.0278, 2.6077)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B17 #5A176B
analogous
#526B17 #286B17 #176B30
triadic
#286B17 #17286B #6B1728
tetradic
#286B17 #17526B #5A176B #6B3017
square
#286B17 #17526B #5A176B #6B3017
split-complementary
#286B17 #30176B #6B1752
monochromatic
#091905 #15390C #286B17 #3B9D22 #4ED02D

Accessibility & contrast

On white

6.55
#286B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#286B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B17
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B17#FFFFFF#000000##FFFFFF
##286B171.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#1F675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286b17;
/* rgb */ color: rgb(40, 107, 23);
/* oklch */ color: oklch(46.7% 0.134 140.1);
Tailwind
colors: {
  custom: {
    50: '#6b965b',
    500: '#286b17',
    950: '#000000',
  },
}
SCSS
$custom: #286b17;
$custom-light: #6b965b;
$custom-dark: #000000;
JSON
{
  "hex": "#286b17",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 23
  },
  "hsl": {
    "h": 107.857,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.13429,
    "h": 140.1
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#286B17
secondary
#8D3DA1
accent
#40E8C6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286B17

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

Preview Lab → · Contrast checker → · Palette generator →

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