#286B15#286B15

#286B15 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.135 H 139.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#286B15
RGBrgb(40, 107, 21)
HSLhsl(107, 67%, 25%)
HSVhsv(107, 80%, 42%)
CMYKcmyk(62.6%, 0%, 80.4%, 58%)
CIE-LABlab(39.61, -37.71, 39.00)
CIE-LCHlch(39.61, 54.25, 134.04°)
OKLaboklab(46.7% -0.1036 0.0873)
OKLCHoklch(46.7% 0.135 139.9)
XYZxyz(6.2678, 11.0201, 2.5061)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B15 #58156B
analogous
#536B15 #286B15 #156B2D
triadic
#286B15 #15286B #6B1528
tetradic
#286B15 #15536B #58156B #6B2D15
square
#286B15 #15536B #58156B #6B2D15
split-complementary
#286B15 #2D156B #6B1553
monochromatic
#0A1A05 #15380B #286B15 #3B9E1F #4ED129

Accessibility & contrast

On white

6.55
#286B15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#286B15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B15
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B15#FFFFFF#000000##FFFFFF
##286B151.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6102
Deuteranopia (green-blind)
#665B1E
Tritanopia (blue-blind)
#1F675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286b15;
/* rgb */ color: rgb(40, 107, 21);
/* oklch */ color: oklch(46.7% 0.135 139.9);
Tailwind
colors: {
  custom: {
    50: '#6b965a',
    500: '#286b15',
    950: '#000000',
  },
}
SCSS
$custom: #286b15;
$custom-light: #6b965a;
$custom-dark: #000000;
JSON
{
  "hex": "#286b15",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 21
  },
  "hsl": {
    "h": 106.744,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46698,
    "c": 0.13548,
    "h": 139.9
  },
  "luminance": 0.11021
}

Semantic roles & 50–950 ramp

primary
#286B15
secondary
#8B3AA2
accent
#3EEAC4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286B15

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

Preview Lab → · Contrast checker → · Palette generator →

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