#286716#286716

#286716 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.130 H 139.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#286716
RGBrgb(40, 103, 22)
HSLhsl(107, 65%, 25%)
HSVhsv(107, 79%, 40%)
CMYKcmyk(61.2%, 0%, 78.6%, 59.6%)
CIE-LABlab(38.21, -36.05, 37.24)
CIE-LCHlch(38.21, 51.83, 134.07°)
OKLaboklab(45.54% -0.099 0.0838)
OKLCHoklch(45.54% 0.13 139.8)
XYZxyz(5.8699, 10.2090, 2.4201)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286716 #551667
analogous
#516716 #286716 #16672D
triadic
#286716 #162867 #671628
tetradic
#286716 #165167 #551667 #672D16
square
#286716 #165167 #551667 #672D16
split-complementary
#286716 #2D1667 #671651
monochromatic
#0A1905 #14350B #286716 #3C9921 #4FCC2C

Accessibility & contrast

On white

6.90
#286716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#286716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286716
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286716#FFFFFF#000000##FFFFFF
##2867161.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#206357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286716;
/* rgb */ color: rgb(40, 103, 22);
/* oklch */ color: oklch(45.5% 0.130 139.8);
Tailwind
colors: {
  custom: {
    50: '#6a9359',
    500: '#286716',
    950: '#000000',
  },
}
SCSS
$custom: #286716;
$custom-light: #6a9359;
$custom-dark: #000000;
JSON
{
  "hex": "#286716",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 106.667,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45544,
    "c": 0.12975,
    "h": 139.8
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#286716
secondary
#883B9E
accent
#40E8C3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286716

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

Preview Lab → · Contrast checker → · Palette generator →

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