#286A2C#286A2C

#286A2C is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.7% C 0.116 H 144.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#286A2C
RGBrgb(40, 106, 44)
HSLhsl(124, 45%, 29%)
HSVhsv(124, 62%, 42%)
CMYKcmyk(62.3%, 0%, 58.5%, 58.4%)
CIE-LABlab(39.48, -34.84, 28.34)
CIE-LCHlch(39.48, 44.91, 140.88°)
OKLaboklab(46.66% -0.0945 0.0675)
OKLCHoklch(46.66% 0.116 144.5)
XYZxyz(6.4833, 10.9404, 4.1524)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A2C #6A2866
analogous
#456A28 #286A2C #286A4D
triadic
#286A2C #2C286A #6A2C28
tetradic
#286A2C #28456A #6A2866 #6A4D28
square
#286A2C #28456A #6A2866 #6A4D28
split-complementary
#286A2C #4D286A #6A2845
monochromatic
#081609 #173E1A #286A2C #39963E #50BD56

Accessibility & contrast

On white

6.59
#286A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#286A2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A2C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A2C#FFFFFF#000000##FFFFFF
##286A2C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6126
Deuteranopia (green-blind)
#635B31
Tritanopia (blue-blind)
#1B675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a2c;
/* rgb */ color: rgb(40, 106, 44);
/* oklch */ color: oklch(46.7% 0.116 144.5);
Tailwind
colors: {
  custom: {
    50: '#6a9567',
    500: '#286a2c',
    950: '#000000',
  },
}
SCSS
$custom: #286a2c;
$custom-light: #6a9567;
$custom-dark: #000000;
JSON
{
  "hex": "#286a2c",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 44
  },
  "hsl": {
    "h": 123.636,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.11612,
    "h": 144.5
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #286A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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