#286C1B#286C1B

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

Color values

HEX#286C1B
RGBrgb(40, 108, 27)
HSLhsl(110, 60%, 26%)
HSVhsv(110, 75%, 42%)
CMYKcmyk(63%, 0%, 75%, 57.6%)
CIE-LABlab(40.01, -37.62, 37.04)
CIE-LCHlch(40.01, 52.79, 135.44°)
OKLaboklab(47.04% -0.103 0.0841)
OKLCHoklch(47.04% 0.133 140.7)
XYZxyz(6.4352, 11.2548, 2.8700)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C1B #5F1B6C
analogous
#516C1B #286C1B #1B6C37
triadic
#286C1B #1B286C #6C1B28
tetradic
#286C1B #1B516C #5F1B6C #6C371B
square
#286C1B #1B516C #5F1B6C #6C371B
split-complementary
#286C1B #371B6C #6C1B51
monochromatic
#091806 #163B0F #286C1B #3A9D27 #4DCC35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286C1B#FFFFFF#000000##FFFFFF
##286C1B1.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)
#6F620E
Deuteranopia (green-blind)
#675C23
Tritanopia (blue-blind)
#1E685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286c1b;
/* rgb */ color: rgb(40, 108, 27);
/* oklch */ color: oklch(47.0% 0.133 140.7);
Tailwind
colors: {
  custom: {
    50: '#6b975d',
    500: '#286c1b',
    950: '#000000',
  },
}
SCSS
$custom: #286c1b;
$custom-light: #6b975d;
$custom-dark: #000000;
JSON
{
  "hex": "#286c1b",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 110.37,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47036,
    "c": 0.13298,
    "h": 140.7
  },
  "luminance": 0.11255
}

Semantic roles & 50–950 ramp

primary
#286C1B
secondary
#9242A1
accent
#45E3CA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #286C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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