#286515#286515

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

Color values

HEX#286515
RGBrgb(40, 101, 21)
HSLhsl(106, 66%, 24%)
HSVhsv(106, 79%, 40%)
CMYKcmyk(60.4%, 0%, 79.2%, 60.4%)
CIE-LABlab(37.50, -35.32, 36.92)
CIE-LCHlch(37.50, 51.09, 133.73°)
OKLaboklab(44.95% -0.0971 0.083)
OKLCHoklch(44.95% 0.128 139.5)
XYZxyz(5.6639, 9.8121, 2.3048)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286515 #521565
analogous
#506515 #286515 #15652A
triadic
#286515 #152865 #651528
tetradic
#286515 #155065 #521565 #652A15
square
#286515 #155065 #521565 #652A15
split-complementary
#286515 #2A1565 #651550
monochromatic
#0A1905 #14320A #286515 #3C9820 #50CA2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286515#FFFFFF#000000##FFFFFF
##2865151.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)
#685B05
Deuteranopia (green-blind)
#60561D
Tritanopia (blue-blind)
#216156
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286515;
/* rgb */ color: rgb(40, 101, 21);
/* oklch */ color: oklch(45.0% 0.128 139.5);
Tailwind
colors: {
  custom: {
    50: '#6a9159',
    500: '#286515',
    950: '#000000',
  },
}
SCSS
$custom: #286515;
$custom-light: #6a9159;
$custom-dark: #000000;
JSON
{
  "hex": "#286515",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 105.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44954,
    "c": 0.12777,
    "h": 139.5
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#286515
secondary
#853A9C
accent
#3FE9C0
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286515

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

Preview Lab → · Contrast checker → · Palette generator →

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