#286D3E#286D3E

#286D3E is a mid, moderate green. Relative luminance 0.117; OKLCH L 47.8% C 0.102 H 151.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#286D3E
RGBrgb(40, 109, 62)
HSLhsl(139, 46%, 29%)
HSVhsv(139, 63%, 43%)
CMYKcmyk(63.3%, 0%, 43.1%, 57.3%)
CIE-LABlab(40.79, -33.11, 19.99)
CIE-LCHlch(40.79, 38.68, 148.88°)
OKLaboklab(47.83% -0.0895 0.0495)
OKLCHoklch(47.83% 0.102 151)
XYZxyz(7.2127, 11.7355, 6.4416)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D3E #6D2857
analogous
#356D28 #286D3E #286D61
triadic
#286D3E #3E286D #6D3E28
tetradic
#286D3E #28356D #6D2857 #6D6128
square
#286D3E #28356D #6D2857 #6D6128
split-complementary
#286D3E #61286D #6D2835
monochromatic
#08160D #184025 #286D3E #389A57 #50BF74

Accessibility & contrast

On white

6.27
#286D3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#286D3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D3E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D3E#FFFFFF#000000##FFFFFF
##286D3E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D643B
Deuteranopia (green-blind)
#645E41
Tritanopia (blue-blind)
#136B61
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286d3e;
/* rgb */ color: rgb(40, 109, 62);
/* oklch */ color: oklch(47.8% 0.102 151.0);
Tailwind
colors: {
  custom: {
    50: '#6a9774',
    500: '#286d3e',
    950: '#000000',
  },
}
SCSS
$custom: #286d3e;
$custom-light: #6a9774;
$custom-dark: #000000;
JSON
{
  "hex": "#286d3e",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 62
  },
  "hsl": {
    "h": 139.13,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47826,
    "c": 0.10234,
    "h": 151
  },
  "luminance": 0.11736
}

Semantic roles & 50–950 ramp

primary
#286D3E
secondary
#9F5187
accent
#52ACD6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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