#286E1C#286E1C

#286E1C is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.135 H 141.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#286E1C
RGBrgb(40, 110, 28)
HSLhsl(111, 59%, 27%)
HSVhsv(111, 75%, 43%)
CMYKcmyk(63.6%, 0%, 74.5%, 56.9%)
CIE-LABlab(40.71, -38.32, 37.35)
CIE-LCHlch(40.71, 53.51, 135.73°)
OKLaboklab(47.62% -0.1048 0.0849)
OKLCHoklch(47.62% 0.135 141)
XYZxyz(6.6603, 11.6862, 3.0031)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E1C #621C6E
analogous
#516E1C #286E1C #1C6E39
triadic
#286E1C #1C286E #6E1C28
tetradic
#286E1C #1C516E #621C6E #6E391C
square
#286E1C #1C516E #621C6E #6E391C
split-complementary
#286E1C #391C6E #6E1C51
monochromatic
#091806 #163D10 #286E1C #3A9F28 #4ECC38

Accessibility & contrast

On white

6.29
#286E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#286E1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E1C
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E1C#FFFFFF#000000##FFFFFF
##286E1C1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71640F
Deuteranopia (green-blind)
#685E24
Tritanopia (blue-blind)
#1D6A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e1c;
/* rgb */ color: rgb(40, 110, 28);
/* oklch */ color: oklch(47.6% 0.135 141.0);
Tailwind
colors: {
  custom: {
    50: '#6b985e',
    500: '#286e1c',
    950: '#000000',
  },
}
SCSS
$custom: #286e1c;
$custom-light: #6b985e;
$custom-dark: #000000;
JSON
{
  "hex": "#286e1c",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 111.22,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.13489,
    "h": 141
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#286E1C
secondary
#9543A3
accent
#45E3CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #286E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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