#286917#286917

#286917 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.132 H 140.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#286917
RGBrgb(40, 105, 23)
HSLhsl(108, 64%, 25%)
HSVhsv(108, 78%, 41%)
CMYKcmyk(61.9%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.93, -36.77, 37.56)
CIE-LCHlch(38.93, 52.56, 134.39°)
OKLaboklab(46.13% -0.1009 0.0846)
OKLCHoklch(46.13% 0.132 140)
XYZxyz(6.0810, 10.6156, 2.5390)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286917 #581769
analogous
#516917 #286917 #17692F
triadic
#286917 #172869 #691728
tetradic
#286917 #175169 #581769 #692F17
square
#286917 #175169 #581769 #692F17
split-complementary
#286917 #2F1769 #691751
monochromatic
#0A1905 #15370C #286917 #3B9B22 #4ECD2D

Accessibility & contrast

On white

6.72
#286917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#286917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286917
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286917#FFFFFF#000000##FFFFFF
##2869171.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#645A20
Tritanopia (blue-blind)
#206559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #286917;
/* rgb */ color: rgb(40, 105, 23);
/* oklch */ color: oklch(46.1% 0.132 140.0);
Tailwind
colors: {
  custom: {
    50: '#6b945a',
    500: '#286917',
    950: '#000000',
  },
}
SCSS
$custom: #286917;
$custom-light: #6b945a;
$custom-dark: #000000;
JSON
{
  "hex": "#286917",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 107.561,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46133,
    "c": 0.13171,
    "h": 140
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#286917
secondary
#8B3D9F
accent
#41E7C5
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286917

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

Preview Lab → · Contrast checker → · Palette generator →

#286917 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva