#286B45#286B45

#286B45 is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.4% C 0.092 H 155.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#286B45
RGBrgb(40, 107, 69)
HSLhsl(146, 46%, 29%)
HSVhsv(146, 63%, 42%)
CMYKcmyk(62.6%, 0%, 35.5%, 58%)
CIE-LABlab(40.24, -30.79, 15.17)
CIE-LCHlch(40.24, 34.32, 153.77°)
OKLaboklab(47.42% -0.0837 0.0382)
OKLCHoklch(47.42% 0.092 155.5)
XYZxyz(7.2063, 11.3955, 7.4488)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B45 #6B284E
analogous
#2D6B28 #286B45 #286B67
triadic
#286B45 #45286B #6B4528
tetradic
#286B45 #282D6B #6B284E #6B6728
square
#286B45 #282D6B #6B284E #6B6728
split-complementary
#286B45 #67286B #6B282D
monochromatic
#08160E #173E28 #286B45 #399862 #50BE7F

Accessibility & contrast

On white

6.40
#286B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#286B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B45
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B45#FFFFFF#000000##FFFFFF
##286B451.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6343
Deuteranopia (green-blind)
#615C47
Tritanopia (blue-blind)
#0F6A61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286b45;
/* rgb */ color: rgb(40, 107, 69);
/* oklch */ color: oklch(47.4% 0.092 155.5);
Tailwind
colors: {
  custom: {
    50: '#699679',
    500: '#286b45',
    950: '#000000',
  },
}
SCSS
$custom: #286b45;
$custom-light: #699679;
$custom-dark: #000000;
JSON
{
  "hex": "#286b45",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 69
  },
  "hsl": {
    "h": 145.97,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.09197,
    "h": 155.5
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#286B45
secondary
#9D517D
accent
#539DD5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D09
muted
#7A7E7B

Preview Lab

Preview with #286B45

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

Preview Lab → · Contrast checker → · Palette generator →

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