#286B2D#286B2D

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

Color values

HEX#286B2D
RGBrgb(40, 107, 45)
HSLhsl(124, 46%, 29%)
HSVhsv(124, 63%, 42%)
CMYKcmyk(62.6%, 0%, 57.9%, 58%)
CIE-LABlab(39.84, -35.12, 28.24)
CIE-LCHlch(39.84, 45.06, 141.20°)
OKLaboklab(46.96% -0.0952 0.0674)
OKLCHoklch(46.96% 0.117 144.7)
XYZxyz(6.6060, 11.1554, 4.2872)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B2D #6B2866
analogous
#456B28 #286B2D #286B4F
triadic
#286B2D #2D286B #6B2D28
tetradic
#286B2D #28456B #6B2866 #6B4F28
square
#286B2D #28456B #6B2866 #6B4F28
split-complementary
#286B2D #4F286B #6B2845
monochromatic
#081609 #173E1A #286B2D #399840 #50BE58

Accessibility & contrast

On white

6.50
#286B2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286B2D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B2D#FFFFFF#000000##FFFFFF
##286B2D1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6127
Deuteranopia (green-blind)
#645C32
Tritanopia (blue-blind)
#1B685D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b2d;
/* rgb */ color: rgb(40, 107, 45);
/* oklch */ color: oklch(47.0% 0.117 144.7);
Tailwind
colors: {
  custom: {
    50: '#6a9668',
    500: '#286b2d',
    950: '#000000',
  },
}
SCSS
$custom: #286b2d;
$custom-light: #6a9668;
$custom-dark: #000000;
JSON
{
  "hex": "#286b2d",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 45
  },
  "hsl": {
    "h": 124.478,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46958,
    "c": 0.11661,
    "h": 144.7
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#286B2D
secondary
#9D5198
accent
#53CBD5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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