#286717#286717

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

Color values

HEX#286717
RGBrgb(40, 103, 23)
HSLhsl(107, 63%, 25%)
HSVhsv(107, 78%, 40%)
CMYKcmyk(61.2%, 0%, 77.7%, 59.6%)
CIE-LABlab(38.22, -35.97, 36.86)
CIE-LCHlch(38.22, 51.50, 134.30°)
OKLaboklab(45.55% -0.0988 0.0832)
OKLCHoklch(45.55% 0.129 139.9)
XYZxyz(5.8797, 10.2130, 2.4719)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286717 #561767
analogous
#506717 #286717 #17672E
triadic
#286717 #172867 #671728
tetradic
#286717 #175067 #561767 #672E17
square
#286717 #175067 #561767 #672E17
split-complementary
#286717 #2E1767 #671750
monochromatic
#0A1906 #15350C #286717 #3B9922 #4FCB2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286717#FFFFFF#000000##FFFFFF
##2867171.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)
#6A5D08
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#206358
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286717;
/* rgb */ color: rgb(40, 103, 23);
/* oklch */ color: oklch(45.6% 0.129 139.9);
Tailwind
colors: {
  custom: {
    50: '#6a935a',
    500: '#286717',
    950: '#000000',
  },
}
SCSS
$custom: #286717;
$custom-light: #6a935a;
$custom-dark: #000000;
JSON
{
  "hex": "#286717",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 107.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45552,
    "c": 0.12912,
    "h": 139.9
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#286717
secondary
#893D9D
accent
#41E7C3
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286717

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

Preview Lab → · Contrast checker → · Palette generator →

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