#286D1D#286D1D

#286D1D is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.133 H 141.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#286D1D
RGBrgb(40, 109, 29)
HSLhsl(112, 58%, 27%)
HSVhsv(112, 73%, 43%)
CMYKcmyk(63.3%, 0%, 73.4%, 57.3%)
CIE-LABlab(40.37, -37.83, 36.58)
CIE-LCHlch(40.37, 52.62, 135.97°)
OKLaboklab(47.34% -0.1034 0.0835)
OKLCHoklch(47.34% 0.133 141.1)
XYZxyz(6.5652, 11.4765, 3.0314)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D1D #621D6D
analogous
#506D1D #286D1D #1D6D3A
triadic
#286D1D #1D286D #6D1D28
tetradic
#286D1D #1D506D #621D6D #6D3A1D
square
#286D1D #1D506D #621D6D #6D3A1D
split-complementary
#286D1D #3A1D6D #6D1D50
monochromatic
#091806 #163D10 #286D1D #3A9D2A #4ECB3A

Accessibility & contrast

On white

6.37
#286D1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#286D1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D1D
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D1D#FFFFFF#000000##FFFFFF
##286D1D1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706311
Deuteranopia (green-blind)
#675D25
Tritanopia (blue-blind)
#1E695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286d1d;
/* rgb */ color: rgb(40, 109, 29);
/* oklch */ color: oklch(47.3% 0.133 141.1);
Tailwind
colors: {
  custom: {
    50: '#6b985e',
    500: '#286d1d',
    950: '#000000',
  },
}
SCSS
$custom: #286d1d;
$custom-light: #6b985e;
$custom-dark: #000000;
JSON
{
  "hex": "#286d1d",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 111.75,
    "s": 57.971,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.13288,
    "h": 141.1
  },
  "luminance": 0.11477
}

Semantic roles & 50–950 ramp

primary
#286D1D
secondary
#9544A2
accent
#47E1CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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