#286C1F#286C1F

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

Color values

HEX#286C1F
RGBrgb(40, 108, 31)
HSLhsl(113, 55%, 27%)
HSVhsv(113, 71%, 42%)
CMYKcmyk(63%, 0%, 71.3%, 57.6%)
CIE-LABlab(40.04, -37.24, 35.35)
CIE-LCHlch(40.04, 51.35, 136.49°)
OKLaboklab(47.07% -0.1017 0.0811)
OKLCHoklch(47.07% 0.13 141.4)
XYZxyz(6.4846, 11.2746, 3.1305)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C1F #631F6C
analogous
#4F6C1F #286C1F #1F6C3D
triadic
#286C1F #1F286C #6C1F28
tetradic
#286C1F #1F4F6C #631F6C #6C3D1F
square
#286C1F #1F4F6C #631F6C #6C3D1F
split-complementary
#286C1F #3D1F6C #6C1F4F
monochromatic
#091807 #163C11 #286C1F #3A9C2D #4EC83E

Accessibility & contrast

On white

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

On black

3.26
#286C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##286C1F#FFFFFF#000000##FFFFFF
##286C1F1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#665C26
Tritanopia (blue-blind)
#1E695C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286c1f;
/* rgb */ color: rgb(40, 108, 31);
/* oklch */ color: oklch(47.1% 0.130 141.4);
Tailwind
colors: {
  custom: {
    50: '#6b975f',
    500: '#286c1f',
    950: '#000000',
  },
}
SCSS
$custom: #286c1f;
$custom-light: #6b975f;
$custom-dark: #000000;
JSON
{
  "hex": "#286c1f",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 112.987,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47073,
    "c": 0.13009,
    "h": 141.4
  },
  "luminance": 0.11275
}

Semantic roles & 50–950 ramp

primary
#286C1F
secondary
#9647A0
accent
#49DFCD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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