#286B2F#286B2F

#286B2F is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.0% C 0.115 H 145.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#286B2F
RGBrgb(40, 107, 47)
HSLhsl(126, 46%, 29%)
HSVhsv(126, 63%, 42%)
CMYKcmyk(62.6%, 0%, 56.1%, 58%)
CIE-LABlab(39.87, -34.82, 27.20)
CIE-LCHlch(39.87, 44.19, 142.01°)
OKLaboklab(46.99% -0.0943 0.0652)
OKLCHoklch(46.99% 0.115 145.3)
XYZxyz(6.6454, 11.1711, 4.4948)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B2F #6B2864
analogous
#436B28 #286B2F #286B51
triadic
#286B2F #2F286B #6B2F28
tetradic
#286B2F #28436B #6B2864 #6B5128
square
#286B2F #28436B #6B2864 #6B5128
split-complementary
#286B2F #51286B #6B2843
monochromatic
#08160A #173E1B #286B2F #399843 #50BE5B

Accessibility & contrast

On white

6.49
#286B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#286B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B2F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B2F#FFFFFF#000000##FFFFFF
##286B2F1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622A
Deuteranopia (green-blind)
#645C33
Tritanopia (blue-blind)
#1A685D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b2f;
/* rgb */ color: rgb(40, 107, 47);
/* oklch */ color: oklch(47.0% 0.115 145.3);
Tailwind
colors: {
  custom: {
    50: '#6a9669',
    500: '#286b2f',
    950: '#000000',
  },
}
SCSS
$custom: #286b2f;
$custom-light: #6a9669;
$custom-dark: #000000;
JSON
{
  "hex": "#286b2f",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 47
  },
  "hsl": {
    "h": 126.269,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46989,
    "c": 0.11467,
    "h": 145.3
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#286B2F
secondary
#9D5196
accent
#53C8D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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