#286A1F#286A1F

#286A1F is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.127 H 141.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#286A1F
RGBrgb(40, 106, 31)
HSLhsl(113, 55%, 27%)
HSVhsv(113, 71%, 42%)
CMYKcmyk(62.3%, 0%, 70.8%, 58.4%)
CIE-LABlab(39.34, -36.44, 34.60)
CIE-LCHlch(39.34, 50.25, 136.48°)
OKLaboklab(46.5% -0.0995 0.0796)
OKLCHoklch(46.5% 0.127 141.4)
XYZxyz(6.2761, 10.8575, 3.0610)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A1F #611F6A
analogous
#4E6A1F #286A1F #1F6A3C
triadic
#286A1F #1F286A #6A1F28
tetradic
#286A1F #1F4E6A #611F6A #6A3C1F
square
#286A1F #1F4E6A #611F6A #6A3C1F
split-complementary
#286A1F #3C1F6A #6A1F4E
monochromatic
#091807 #163B11 #286A1F #3A992D #4EC63D

Accessibility & contrast

On white

6.62
#286A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#286A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A1F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A1F#FFFFFF#000000##FFFFFF
##286A1F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6015
Deuteranopia (green-blind)
#645B26
Tritanopia (blue-blind)
#1E675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a1f;
/* rgb */ color: rgb(40, 106, 31);
/* oklch */ color: oklch(46.5% 0.127 141.4);
Tailwind
colors: {
  custom: {
    50: '#6a955f',
    500: '#286a1f',
    950: '#000000',
  },
}
SCSS
$custom: #286a1f;
$custom-light: #6a955f;
$custom-dark: #000000;
JSON
{
  "hex": "#286a1f",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 112.8,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.12741,
    "h": 141.4
  },
  "luminance": 0.10858
}

Semantic roles & 50–950 ramp

primary
#286A1F
secondary
#94479E
accent
#4ADECC
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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