#286B2C#286B2C

#286B2C is a mid, moderate green. Relative luminance 0.111; OKLCH L 46.9% C 0.118 H 144.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#286B2C
RGBrgb(40, 107, 44)
HSLhsl(124, 46%, 29%)
HSVhsv(124, 63%, 42%)
CMYKcmyk(62.6%, 0%, 58.9%, 58%)
CIE-LABlab(39.83, -35.26, 28.75)
CIE-LCHlch(39.83, 45.50, 140.81°)
OKLaboklab(46.94% -0.0956 0.0684)
OKLCHoklch(46.94% 0.118 144.4)
XYZxyz(6.5870, 11.1477, 4.1870)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B2C #6B2867
analogous
#466B28 #286B2C #286B4E
triadic
#286B2C #2C286B #6B2C28
tetradic
#286B2C #28466B #6B2867 #6B4E28
square
#286B2C #28466B #6B2867 #6B4E28
split-complementary
#286B2C #4E286B #6B2846
monochromatic
#081609 #173E1A #286B2C #39983E #50BE56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286B2C#FFFFFF#000000##FFFFFF
##286B2C1.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)
#6D6126
Deuteranopia (green-blind)
#645C31
Tritanopia (blue-blind)
#1B685D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b2c;
/* rgb */ color: rgb(40, 107, 44);
/* oklch */ color: oklch(46.9% 0.118 144.4);
Tailwind
colors: {
  custom: {
    50: '#6a9667',
    500: '#286b2c',
    950: '#000000',
  },
}
SCSS
$custom: #286b2c;
$custom-light: #6a9667;
$custom-dark: #000000;
JSON
{
  "hex": "#286b2c",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 44
  },
  "hsl": {
    "h": 123.582,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46944,
    "c": 0.11756,
    "h": 144.4
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#286B2C
secondary
#9D5199
accent
#53CDD5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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