#286C1C#286C1C

#286C1C is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.132 H 140.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#286C1C
RGBrgb(40, 108, 28)
HSLhsl(111, 59%, 27%)
HSVhsv(111, 74%, 42%)
CMYKcmyk(63%, 0%, 74.1%, 57.6%)
CIE-LABlab(40.01, -37.53, 36.63)
CIE-LCHlch(40.01, 52.44, 135.69°)
OKLaboklab(47.04% -0.1027 0.0834)
OKLCHoklch(47.04% 0.132 140.9)
XYZxyz(6.4469, 11.2595, 2.9319)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C1C #601C6C
analogous
#506C1C #286C1C #1C6C38
triadic
#286C1C #1C286C #6C1C28
tetradic
#286C1C #1C506C #601C6C #6C381C
square
#286C1C #1C506C #601C6C #6C381C
split-complementary
#286C1C #381C6C #6C1C50
monochromatic
#091806 #163B0F #286C1C #3A9D29 #4DCB37

Accessibility & contrast

On white

6.46
#286C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#286C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C1C
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C1C#FFFFFF#000000##FFFFFF
##286C1C1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F620F
Deuteranopia (green-blind)
#665C24
Tritanopia (blue-blind)
#1E685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286c1c;
/* rgb */ color: rgb(40, 108, 28);
/* oklch */ color: oklch(47.0% 0.132 140.9);
Tailwind
colors: {
  custom: {
    50: '#6b975d',
    500: '#286c1c',
    950: '#000000',
  },
}
SCSS
$custom: #286c1c;
$custom-light: #6b975d;
$custom-dark: #000000;
JSON
{
  "hex": "#286c1c",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 28
  },
  "hsl": {
    "h": 111,
    "s": 58.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.47045,
    "c": 0.13228,
    "h": 140.9
  },
  "luminance": 0.1126
}

Semantic roles & 50–950 ramp

primary
#286C1C
secondary
#9343A1
accent
#46E2CB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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