#286B1F#286B1F

#286B1F is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.129 H 141.4°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#286B1F
RGBrgb(40, 107, 31)
HSLhsl(113, 55%, 27%)
HSVhsv(113, 71%, 42%)
CMYKcmyk(62.6%, 0%, 71%, 58%)
CIE-LABlab(39.69, -36.84, 34.98)
CIE-LCHlch(39.69, 50.80, 136.49°)
OKLaboklab(46.79% -0.1006 0.0804)
OKLCHoklch(46.79% 0.129 141.4)
XYZxyz(6.3798, 11.0649, 3.0956)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B1F #621F6B
analogous
#4E6B1F #286B1F #1F6B3C
triadic
#286B1F #1F286B #6B1F28
tetradic
#286B1F #1F4E6B #621F6B #6B3C1F
square
#286B1F #1F4E6B #621F6B #6B3C1F
split-complementary
#286B1F #3C1F6B #6B1F4E
monochromatic
#091807 #163C11 #286B1F #3A9A2D #4EC73D

Accessibility & contrast

On white

6.54
#286B1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#286B1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B1F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B1F#FFFFFF#000000##FFFFFF
##286B1F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6115
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#1E685C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286b1f;
/* rgb */ color: rgb(40, 107, 31);
/* oklch */ color: oklch(46.8% 0.129 141.4);
Tailwind
colors: {
  custom: {
    50: '#6b965f',
    500: '#286b1f',
    950: '#000000',
  },
}
SCSS
$custom: #286b1f;
$custom-light: #6b965f;
$custom-dark: #000000;
JSON
{
  "hex": "#286b1f",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 31
  },
  "hsl": {
    "h": 112.895,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.12876,
    "h": 141.4
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#286B1F
secondary
#95479F
accent
#49DECD
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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