#286A1E#286A1E

#286A1E is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.128 H 141.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#286A1E
RGBrgb(40, 106, 30)
HSLhsl(112, 56%, 27%)
HSVhsv(112, 72%, 42%)
CMYKcmyk(62.3%, 0%, 71.7%, 58.4%)
CIE-LABlab(39.33, -36.54, 35.04)
CIE-LCHlch(39.33, 50.63, 136.20°)
OKLaboklab(46.49% -0.0998 0.0804)
OKLCHoklch(46.49% 0.128 141.2)
XYZxyz(6.2631, 10.8524, 2.9927)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A1E #601E6A
analogous
#4E6A1E #286A1E #1E6A3A
triadic
#286A1E #1E286A #6A1E28
tetradic
#286A1E #1E4E6A #601E6A #6A3A1E
square
#286A1E #1E4E6A #601E6A #6A3A1E
split-complementary
#286A1E #3A1E6A #6A1E4E
monochromatic
#091807 #163A11 #286A1E #3A9A2C #4DC73B

Accessibility & contrast

On white

6.62
#286A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#286A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A1E
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A1E#FFFFFF#000000##FFFFFF
##286A1E1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #286a1e;
/* rgb */ color: rgb(40, 106, 30);
/* oklch */ color: oklch(46.5% 0.128 141.2);
Tailwind
colors: {
  custom: {
    50: '#6a955e',
    500: '#286a1e',
    950: '#000000',
  },
}
SCSS
$custom: #286a1e;
$custom-light: #6a955e;
$custom-dark: #000000;
JSON
{
  "hex": "#286a1e",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 30
  },
  "hsl": {
    "h": 112.105,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.46486,
    "c": 0.12817,
    "h": 141.2
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#286A1E
secondary
#93459E
accent
#49DFCB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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