#286C1E#286C1E

#286C1E is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.131 H 141.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#286C1E
RGBrgb(40, 108, 30)
HSLhsl(112, 57%, 27%)
HSVhsv(112, 72%, 42%)
CMYKcmyk(63%, 0%, 72.2%, 57.6%)
CIE-LABlab(40.03, -37.34, 35.78)
CIE-LCHlch(40.03, 51.72, 136.22°)
OKLaboklab(47.06% -0.102 0.0819)
OKLCHoklch(47.06% 0.131 141.2)
XYZxyz(6.4717, 11.2694, 3.0622)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C1E #621E6C
analogous
#4F6C1E #286C1E #1E6C3B
triadic
#286C1E #1E286C #6C1E28
tetradic
#286C1E #1E4F6C #621E6C #6C3B1E
square
#286C1E #1E4F6C #621E6C #6C3B1E
split-complementary
#286C1E #3B1E6C #6C1E4F
monochromatic
#091807 #163C11 #286C1E #3A9C2B #4EC93C

Accessibility & contrast

On white

6.45
#286C1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286C1E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C1E#FFFFFF#000000##FFFFFF
##286C1E1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #286c1e;
/* rgb */ color: rgb(40, 108, 30);
/* oklch */ color: oklch(47.1% 0.131 141.2);
Tailwind
colors: {
  custom: {
    50: '#6b975e',
    500: '#286c1e',
    950: '#000000',
  },
}
SCSS
$custom: #286c1e;
$custom-light: #6b975e;
$custom-dark: #000000;
JSON
{
  "hex": "#286c1e",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 30
  },
  "hsl": {
    "h": 112.308,
    "s": 56.522,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47064,
    "c": 0.13084,
    "h": 141.2
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#286C1E
secondary
#9545A0
accent
#48E0CC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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