#286E45#286E45

#286E45 is a mid, moderate green. Relative luminance 0.120; OKLCH L 48.3% C 0.097 H 154.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#286E45
RGBrgb(40, 110, 69)
HSLhsl(145, 47%, 29%)
HSVhsv(145, 64%, 43%)
CMYKcmyk(63.6%, 0%, 37.3%, 56.9%)
CIE-LABlab(41.27, -32.15, 16.55)
CIE-LCHlch(41.27, 36.16, 152.76°)
OKLaboklab(48.26% -0.0872 0.0416)
OKLCHoklch(48.26% 0.097 154.5)
XYZxyz(7.5246, 12.0319, 7.5549)
Luminance0.1203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E45 #6E2851
analogous
#2E6E28 #286E45 #286E68
triadic
#286E45 #45286E #6E4528
tetradic
#286E45 #282E6E #6E2851 #6E6828
square
#286E45 #282E6E #6E2851 #6E6828
split-complementary
#286E45 #68286E #6E282E
monochromatic
#08160E #184129 #286E45 #389B61 #51C07F

Accessibility & contrast

On white

6.16
#286E45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#286E45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E45
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E45#FFFFFF#000000##FFFFFF
##286E451.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6542
Deuteranopia (green-blind)
#645F48
Tritanopia (blue-blind)
#0D6D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286e45;
/* rgb */ color: rgb(40, 110, 69);
/* oklch */ color: oklch(48.3% 0.097 154.5);
Tailwind
colors: {
  custom: {
    50: '#6a9879',
    500: '#286e45',
    950: '#000000',
  },
}
SCSS
$custom: #286e45;
$custom-light: #6a9879;
$custom-dark: #000000;
JSON
{
  "hex": "#286e45",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 69
  },
  "hsl": {
    "h": 144.857,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.48258,
    "c": 0.0966,
    "h": 154.5
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#286E45
secondary
#A05180
accent
#519FD6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #286E45

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

Preview Lab → · Contrast checker → · Palette generator →

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