#286B1E#286B1E

#286B1E is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.130 H 141.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#286B1E
RGBrgb(40, 107, 30)
HSLhsl(112, 56%, 27%)
HSVhsv(112, 72%, 42%)
CMYKcmyk(62.6%, 0%, 72%, 58%)
CIE-LABlab(39.68, -36.94, 35.41)
CIE-LCHlch(39.68, 51.17, 136.21°)
OKLaboklab(46.78% -0.1009 0.0811)
OKLCHoklch(46.78% 0.13 141.2)
XYZxyz(6.3668, 11.0597, 3.0273)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B1E #611E6B
analogous
#4F6B1E #286B1E #1E6B3B
triadic
#286B1E #1E286B #6B1E28
tetradic
#286B1E #1E4F6B #611E6B #6B3B1E
square
#286B1E #1E4F6B #611E6B #6B3B1E
split-complementary
#286B1E #3B1E6B #6B1E4F
monochromatic
#091807 #163B11 #286B1E #3A9B2B #4EC83B

Accessibility & contrast

On white

6.54
#286B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#286B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B1E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B1E#FFFFFF#000000##FFFFFF
##286B1E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6113
Deuteranopia (green-blind)
#655B25
Tritanopia (blue-blind)
#1E685B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286b1e;
/* rgb */ color: rgb(40, 107, 30);
/* oklch */ color: oklch(46.8% 0.130 141.2);
Tailwind
colors: {
  custom: {
    50: '#6b965e',
    500: '#286b1e',
    950: '#000000',
  },
}
SCSS
$custom: #286b1e;
$custom-light: #6b965e;
$custom-dark: #000000;
JSON
{
  "hex": "#286b1e",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 30
  },
  "hsl": {
    "h": 112.208,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.12951,
    "h": 141.2
  },
  "luminance": 0.1106
}

Semantic roles & 50–950 ramp

primary
#286B1E
secondary
#94459F
accent
#48DFCC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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