#286C3A#286C3A

#286C3A is a mid, moderate green. Relative luminance 0.115; OKLCH L 47.5% C 0.105 H 149.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#286C3A
RGBrgb(40, 108, 58)
HSLhsl(136, 46%, 29%)
HSVhsv(136, 63%, 42%)
CMYKcmyk(63%, 0%, 46.3%, 57.6%)
CIE-LABlab(40.38, -33.42, 21.74)
CIE-LCHlch(40.38, 39.87, 146.96°)
OKLaboklab(47.46% -0.0903 0.0535)
OKLCHoklch(47.46% 0.105 149.4)
XYZxyz(7.0009, 11.4811, 5.8493)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C3A #6C285A
analogous
#386C28 #286C3A #286C5C
triadic
#286C3A #3A286C #6C3A28
tetradic
#286C3A #28386C #6C285A #6C5C28
square
#286C3A #28386C #6C285A #6C5C28
split-complementary
#286C3A #5C286C #6C2838
monochromatic
#08160C #173F22 #286C3A #399952 #50BE6D

Accessibility & contrast

On white

6.37
#286C3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#286C3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C3A
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C3A#FFFFFF#000000##FFFFFF
##286C3A1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6336
Deuteranopia (green-blind)
#645D3D
Tritanopia (blue-blind)
#156A60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286c3a;
/* rgb */ color: rgb(40, 108, 58);
/* oklch */ color: oklch(47.5% 0.105 149.4);
Tailwind
colors: {
  custom: {
    50: '#6a9771',
    500: '#286c3a',
    950: '#000000',
  },
}
SCSS
$custom: #286c3a;
$custom-light: #6a9771;
$custom-dark: #000000;
JSON
{
  "hex": "#286c3a",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 58
  },
  "hsl": {
    "h": 135.882,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47464,
    "c": 0.105,
    "h": 149.4
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#286C3A
secondary
#9E518A
accent
#52B3D6
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #286C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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