#286C15#286C15

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

Color values

HEX#286C15
RGBrgb(40, 108, 21)
HSLhsl(107, 67%, 25%)
HSVhsv(107, 81%, 42%)
CMYKcmyk(63%, 0%, 80.6%, 57.6%)
CIE-LABlab(39.96, -38.10, 39.34)
CIE-LCHlch(39.96, 54.76, 134.09°)
OKLaboklab(46.99% -0.1046 0.088)
OKLCHoklch(46.99% 0.137 139.9)
XYZxyz(6.3727, 11.2298, 2.5411)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C15 #59156C
analogous
#536C15 #286C15 #156C2E
triadic
#286C15 #15286C #6C1528
tetradic
#286C15 #15536C #59156C #6C2E15
square
#286C15 #15536C #59156C #6C2E15
split-complementary
#286C15 #2E156C #6C1553
monochromatic
#091A05 #15390B #286C15 #3B9F1F #4ED229

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286C15#FFFFFF#000000##FFFFFF
##286C151.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)
#6F6202
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#1F685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286c15;
/* rgb */ color: rgb(40, 108, 21);
/* oklch */ color: oklch(47.0% 0.137 139.9);
Tailwind
colors: {
  custom: {
    50: '#6b975a',
    500: '#286c15',
    950: '#000000',
  },
}
SCSS
$custom: #286c15;
$custom-light: #6b975a;
$custom-dark: #000000;
JSON
{
  "hex": "#286c15",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 106.897,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46988,
    "c": 0.13675,
    "h": 139.9
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#286C15
secondary
#8C3AA3
accent
#3DEAC5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286C15

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

Preview Lab → · Contrast checker → · Palette generator →

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