#286A3E#286A3E

#286A3E is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.098 H 151.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#286A3E
RGBrgb(40, 106, 62)
HSLhsl(140, 45%, 29%)
HSVhsv(140, 62%, 42%)
CMYKcmyk(62.3%, 0%, 41.5%, 58.4%)
CIE-LABlab(39.76, -31.78, 18.63)
CIE-LCHlch(39.76, 36.84, 149.62°)
OKLaboklab(46.98% -0.086 0.0464)
OKLCHoklch(46.98% 0.098 151.7)
XYZxyz(6.8981, 11.1063, 6.3367)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A3E #6A2854
analogous
#336A28 #286A3E #286A5F
triadic
#286A3E #3E286A #6A3E28
tetradic
#286A3E #28336A #6A2854 #6A5F28
square
#286A3E #28336A #6A2854 #6A5F28
split-complementary
#286A3E #5F286A #6A2833
monochromatic
#08160D #173E24 #286A3E #399658 #50BD74

Accessibility & contrast

On white

6.52
#286A3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#286A3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A3E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A3E#FFFFFF#000000##FFFFFF
##286A3E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A613B
Deuteranopia (green-blind)
#625B41
Tritanopia (blue-blind)
#14685F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286a3e;
/* rgb */ color: rgb(40, 106, 62);
/* oklch */ color: oklch(47.0% 0.098 151.7);
Tailwind
colors: {
  custom: {
    50: '#699573',
    500: '#286a3e',
    950: '#000000',
  },
}
SCSS
$custom: #286a3e;
$custom-light: #699573;
$custom-dark: #000000;
JSON
{
  "hex": "#286a3e",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 62
  },
  "hsl": {
    "h": 140,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46977,
    "c": 0.09773,
    "h": 151.7
  },
  "luminance": 0.11107
}

Semantic roles & 50–950 ramp

primary
#286A3E
secondary
#9D5183
accent
#53AAD5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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