#286D1F#286D1F

#286D1F is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.131 H 141.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#286D1F
RGBrgb(40, 109, 31)
HSLhsl(113, 56%, 27%)
HSVhsv(113, 72%, 43%)
CMYKcmyk(63.3%, 0%, 71.6%, 57.3%)
CIE-LABlab(40.39, -37.64, 35.72)
CIE-LCHlch(40.39, 51.89, 136.50°)
OKLaboklab(47.36% -0.1028 0.0819)
OKLCHoklch(47.36% 0.131 141.4)
XYZxyz(6.5907, 11.4867, 3.1659)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D1F #641F6D
analogous
#4F6D1F #286D1F #1F6D3D
triadic
#286D1F #1F286D #6D1F28
tetradic
#286D1F #1F4F6D #641F6D #6D3D1F
square
#286D1F #1F4F6D #641F6D #6D3D1F
split-complementary
#286D1F #3D1F6D #6D1F4F
monochromatic
#091807 #173D11 #286D1F #399D2D #4EC83E

Accessibility & contrast

On white

6.37
#286D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#286D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D1F
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D1F#FFFFFF#000000##FFFFFF
##286D1F1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706314
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#1D6A5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286d1f;
/* rgb */ color: rgb(40, 109, 31);
/* oklch */ color: oklch(47.4% 0.131 141.4);
Tailwind
colors: {
  custom: {
    50: '#6b975f',
    500: '#286d1f',
    950: '#000000',
  },
}
SCSS
$custom: #286d1f;
$custom-light: #6b975f;
$custom-dark: #000000;
JSON
{
  "hex": "#286d1f",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 113.077,
    "s": 55.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.13142,
    "h": 141.4
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#286D1F
secondary
#9747A1
accent
#49DFCE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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