#286F15#286F15

#286F15 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.141 H 140.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#286F15
RGBrgb(40, 111, 21)
HSLhsl(107, 68%, 26%)
HSVhsv(107, 81%, 44%)
CMYKcmyk(64%, 0%, 81.1%, 56.5%)
CIE-LABlab(41.01, -39.26, 40.35)
CIE-LCHlch(41.01, 56.30, 134.21°)
OKLaboklab(47.86% -0.1078 0.0902)
OKLCHoklch(47.86% 0.141 140.1)
XYZxyz(6.6946, 11.8735, 2.6483)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F15 #5C156F
analogous
#556F15 #286F15 #156F2F
triadic
#286F15 #15286F #6F1528
tetradic
#286F15 #15556F #5C156F #6F2F15
square
#286F15 #15556F #5C156F #6F2F15
split-complementary
#286F15 #2F156F #6F1555
monochromatic
#091A05 #153C0B #286F15 #3BA21F #4DD628

Accessibility & contrast

On white

6.22
#286F15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#286F15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F15
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F15#FFFFFF#000000##FFFFFF
##286F151.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726401
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#1E6B5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f15;
/* rgb */ color: rgb(40, 111, 21);
/* oklch */ color: oklch(47.9% 0.141 140.1);
Tailwind
colors: {
  custom: {
    50: '#6c995a',
    500: '#286f15',
    950: '#000000',
  },
}
SCSS
$custom: #286f15;
$custom-light: #6c995a;
$custom-dark: #000000;
JSON
{
  "hex": "#286f15",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 21
  },
  "hsl": {
    "h": 107.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.1405,
    "h": 140.1
  },
  "luminance": 0.11874
}

Semantic roles & 50–950 ramp

primary
#286F15
secondary
#8F3AA5
accent
#3DEBC6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286F15

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

Preview Lab → · Contrast checker → · Palette generator →

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