#286C45#286C45

#286C45 is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.7% C 0.094 H 155.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#286C45
RGBrgb(40, 108, 69)
HSLhsl(146, 46%, 29%)
HSVhsv(146, 63%, 42%)
CMYKcmyk(63%, 0%, 36.1%, 57.6%)
CIE-LABlab(40.58, -31.24, 15.63)
CIE-LCHlch(40.58, 34.93, 153.42°)
OKLaboklab(47.7% -0.0848 0.0393)
OKLCHoklch(47.7% 0.094 155.1)
XYZxyz(7.3112, 11.6052, 7.4838)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C45 #6C284F
analogous
#2D6C28 #286C45 #286C67
triadic
#286C45 #45286C #6C4528
tetradic
#286C45 #282D6C #6C284F #6C6728
square
#286C45 #282D6C #6C284F #6C6728
split-complementary
#286C45 #67286C #6C282D
monochromatic
#08160E #173F28 #286C45 #399962 #50BE7F

Accessibility & contrast

On white

6.32
#286C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#286C45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C45
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C45#FFFFFF#000000##FFFFFF
##286C451.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6443
Deuteranopia (green-blind)
#625D47
Tritanopia (blue-blind)
#0E6B62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286c45;
/* rgb */ color: rgb(40, 108, 69);
/* oklch */ color: oklch(47.7% 0.094 155.1);
Tailwind
colors: {
  custom: {
    50: '#699779',
    500: '#286c45',
    950: '#000000',
  },
}
SCSS
$custom: #286c45;
$custom-light: #699779;
$custom-dark: #000000;
JSON
{
  "hex": "#286c45",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 69
  },
  "hsl": {
    "h": 145.588,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.47696,
    "c": 0.09352,
    "h": 155.1
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#286C45
secondary
#9E517E
accent
#529ED6
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D09
muted
#7A7E7B

Preview Lab

Preview with #286C45

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

Preview Lab → · Contrast checker → · Palette generator →

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