#286916#286916

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

Color values

HEX#286916
RGBrgb(40, 105, 22)
HSLhsl(107, 65%, 25%)
HSVhsv(107, 79%, 41%)
CMYKcmyk(61.9%, 0%, 79%, 58.8%)
CIE-LABlab(38.92, -36.85, 37.94)
CIE-LCHlch(38.92, 52.89, 134.16°)
OKLaboklab(46.13% -0.1012 0.0853)
OKLCHoklch(46.13% 0.132 139.9)
XYZxyz(6.0712, 10.6117, 2.4872)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286916 #571669
analogous
#516916 #286916 #16692E
triadic
#286916 #162869 #691628
tetradic
#286916 #165169 #571669 #692E16
square
#286916 #165169 #571669 #692E16
split-complementary
#286916 #2E1669 #691651
monochromatic
#0A1905 #15360B #286916 #3B9C21 #4FCE2B

Accessibility & contrast

On white

6.73
#286916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286916
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286916#FFFFFF#000000##FFFFFF
##2869161.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #286916;
/* rgb */ color: rgb(40, 105, 22);
/* oklch */ color: oklch(46.1% 0.132 139.9);
Tailwind
colors: {
  custom: {
    50: '#6b945a',
    500: '#286916',
    950: '#000000',
  },
}
SCSS
$custom: #286916;
$custom-light: #6b945a;
$custom-dark: #000000;
JSON
{
  "hex": "#286916",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 22
  },
  "hsl": {
    "h": 106.988,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46126,
    "c": 0.13233,
    "h": 139.9
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

primary
#286916
secondary
#8A3B9F
accent
#3FE8C4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286916

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

Preview Lab → · Contrast checker → · Palette generator →

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