#286A1C#286A1C

#286A1C is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.5% C 0.130 H 140.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#286A1C
RGBrgb(40, 106, 28)
HSLhsl(111, 58%, 26%)
HSVhsv(111, 74%, 42%)
CMYKcmyk(62.3%, 0%, 73.6%, 58.4%)
CIE-LABlab(39.31, -36.73, 35.90)
CIE-LCHlch(39.31, 51.36, 135.66°)
OKLaboklab(46.47% -0.1005 0.0819)
OKLCHoklch(46.47% 0.13 140.8)
XYZxyz(6.2384, 10.8425, 2.8624)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A1C #5E1C6A
analogous
#4F6A1C #286A1C #1C6A37
triadic
#286A1C #1C286A #6A1C28
tetradic
#286A1C #1C4F6A #5E1C6A #6A371C
square
#286A1C #1C4F6A #5E1C6A #6A371C
split-complementary
#286A1C #371C6A #6A1C4F
monochromatic
#091806 #163A0F #286A1C #3A9A29 #4DCA36

Accessibility & contrast

On white

6.63
#286A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286A1C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A1C#FFFFFF#000000##FFFFFF
##286A1C1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6010
Deuteranopia (green-blind)
#655A23
Tritanopia (blue-blind)
#1F665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a1c;
/* rgb */ color: rgb(40, 106, 28);
/* oklch */ color: oklch(46.5% 0.130 140.8);
Tailwind
colors: {
  custom: {
    50: '#6b955d',
    500: '#286a1c',
    950: '#000000',
  },
}
SCSS
$custom: #286a1c;
$custom-light: #6b955d;
$custom-dark: #000000;
JSON
{
  "hex": "#286a1c",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 110.769,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.46466,
    "c": 0.12965,
    "h": 140.8
  },
  "luminance": 0.10843
}

Semantic roles & 50–950 ramp

primary
#286A1C
secondary
#91439F
accent
#46E1CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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