#286A2B#286A2B

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

Color values

HEX#286A2B
RGBrgb(40, 106, 43)
HSLhsl(123, 45%, 29%)
HSVhsv(123, 62%, 42%)
CMYKcmyk(62.3%, 0%, 59.4%, 58.4%)
CIE-LABlab(39.47, -34.98, 28.85)
CIE-LCHlch(39.47, 45.34, 140.49°)
OKLaboklab(46.64% -0.0949 0.0685)
OKLCHoklch(46.64% 0.117 144.2)
XYZxyz(6.4648, 10.9330, 4.0546)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A2B #6A2867
analogous
#466A28 #286A2B #286A4C
triadic
#286A2B #2B286A #6A2B28
tetradic
#286A2B #28466A #6A2867 #6A4C28
square
#286A2B #28466A #6A2867 #6A4C28
split-complementary
#286A2B #4C286A #6A2846
monochromatic
#081609 #173E19 #286A2B #39963D #50BD55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286A2B#FFFFFF#000000##FFFFFF
##286A2B1.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)
#6C6025
Deuteranopia (green-blind)
#645B30
Tritanopia (blue-blind)
#1B675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a2b;
/* rgb */ color: rgb(40, 106, 43);
/* oklch */ color: oklch(46.6% 0.117 144.2);
Tailwind
colors: {
  custom: {
    50: '#6a9566',
    500: '#286a2b',
    950: '#000000',
  },
}
SCSS
$custom: #286a2b;
$custom-light: #6a9566;
$custom-dark: #000000;
JSON
{
  "hex": "#286a2b",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 122.727,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46642,
    "c": 0.11707,
    "h": 144.2
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #286A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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