#286C17#286C17

#286C17 is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.136 H 140.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#286C17
RGBrgb(40, 108, 23)
HSLhsl(108, 65%, 26%)
HSVhsv(108, 79%, 42%)
CMYKcmyk(63%, 0%, 78.7%, 57.6%)
CIE-LABlab(39.98, -37.95, 38.61)
CIE-LCHlch(39.98, 54.14, 134.51°)
OKLaboklab(47% -0.1041 0.0868)
OKLCHoklch(47% 0.136 140.2)
XYZxyz(6.3920, 11.2375, 2.6427)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C17 #5B176C
analogous
#526C17 #286C17 #176C30
triadic
#286C17 #17286C #6C1728
tetradic
#286C17 #17526C #5B176C #6C3017
square
#286C17 #17526C #5B176C #6C3017
split-complementary
#286C17 #30176C #6C1752
monochromatic
#091905 #153A0C #286C17 #3B9E22 #4DD12C

Accessibility & contrast

On white

6.47
#286C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#286C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C17
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C17#FFFFFF#000000##FFFFFF
##286C171.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6206
Deuteranopia (green-blind)
#675C20
Tritanopia (blue-blind)
#1F685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286c17;
/* rgb */ color: rgb(40, 108, 23);
/* oklch */ color: oklch(47.0% 0.136 140.2);
Tailwind
colors: {
  custom: {
    50: '#6b975b',
    500: '#286c17',
    950: '#000000',
  },
}
SCSS
$custom: #286c17;
$custom-light: #6b975b;
$custom-dark: #000000;
JSON
{
  "hex": "#286c17",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 108,
    "s": 64.885,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47003,
    "c": 0.13556,
    "h": 140.2
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#286C17
secondary
#8E3DA2
accent
#40E8C6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286C17

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

Preview Lab → · Contrast checker → · Palette generator →

#286C17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva