#286D1C#286D1C

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

Color values

HEX#286D1C
RGBrgb(40, 109, 28)
HSLhsl(111, 59%, 27%)
HSVhsv(111, 74%, 43%)
CMYKcmyk(63.3%, 0%, 74.3%, 57.3%)
CIE-LABlab(40.36, -37.92, 36.99)
CIE-LCHlch(40.36, 52.98, 135.71°)
OKLaboklab(47.33% -0.1037 0.0842)
OKLCHoklch(47.33% 0.134 140.9)
XYZxyz(6.5530, 11.4716, 2.9673)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D1C #611C6D
analogous
#516D1C #286D1C #1C6D39
triadic
#286D1C #1C286D #6D1C28
tetradic
#286D1C #1C516D #611C6D #6D391C
square
#286D1C #1C516D #611C6D #6D391C
split-complementary
#286D1C #391C6D #6D1C51
monochromatic
#091806 #163C0F #286D1C #3A9E29 #4ECC38

Accessibility & contrast

On white

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

On black

3.29
#286D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##286D1C#FFFFFF#000000##FFFFFF
##286D1C1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70630F
Deuteranopia (green-blind)
#675D24
Tritanopia (blue-blind)
#1E695D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286d1c;
/* rgb */ color: rgb(40, 109, 28);
/* oklch */ color: oklch(47.3% 0.134 140.9);
Tailwind
colors: {
  custom: {
    50: '#6b985d',
    500: '#286d1c',
    950: '#000000',
  },
}
SCSS
$custom: #286d1c;
$custom-light: #6b985d;
$custom-dark: #000000;
JSON
{
  "hex": "#286d1c",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 28
  },
  "hsl": {
    "h": 111.111,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47334,
    "c": 0.13358,
    "h": 140.9
  },
  "luminance": 0.11472
}

Semantic roles & 50–950 ramp

primary
#286D1C
secondary
#9443A2
accent
#45E2CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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