#286516#286516

#286516 is a dark, vivid green. Relative luminance 0.098; OKLCH L 45.0% C 0.127 H 139.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#286516
RGBrgb(40, 101, 22)
HSLhsl(106, 64%, 24%)
HSVhsv(106, 78%, 40%)
CMYKcmyk(60.4%, 0%, 78.2%, 60.4%)
CIE-LABlab(37.51, -35.24, 36.54)
CIE-LCHlch(37.51, 50.76, 133.97°)
OKLaboklab(44.96% -0.0969 0.0824)
OKLCHoklch(44.96% 0.127 139.6)
XYZxyz(5.6733, 9.8159, 2.3546)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286516 #531665
analogous
#506516 #286516 #16652C
triadic
#286516 #162865 #651628
tetradic
#286516 #165065 #531665 #652C16
square
#286516 #165065 #531665 #652C16
split-complementary
#286516 #2C1665 #651650
monochromatic
#0A1905 #14330B #286516 #3C9721 #50CA2C

Accessibility & contrast

On white

7.09
#286516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#286516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286516
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286516#FFFFFF#000000##FFFFFF
##2865161.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B07
Deuteranopia (green-blind)
#60561E
Tritanopia (blue-blind)
#216156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286516;
/* rgb */ color: rgb(40, 101, 22);
/* oklch */ color: oklch(45.0% 0.127 139.6);
Tailwind
colors: {
  custom: {
    50: '#6a9159',
    500: '#286516',
    950: '#000000',
  },
}
SCSS
$custom: #286516;
$custom-light: #6a9159;
$custom-dark: #000000;
JSON
{
  "hex": "#286516",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 22
  },
  "hsl": {
    "h": 106.329,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44962,
    "c": 0.12714,
    "h": 139.6
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

primary
#286516
secondary
#863B9C
accent
#41E7C1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286516

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

Preview Lab → · Contrast checker → · Palette generator →

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