#286A45#286A45

#286A45 is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.1% C 0.090 H 155.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#286A45
RGBrgb(40, 106, 69)
HSLhsl(146, 45%, 29%)
HSVhsv(146, 62%, 42%)
CMYKcmyk(62.3%, 0%, 34.9%, 58.4%)
CIE-LABlab(39.90, -30.33, 14.70)
CIE-LCHlch(39.90, 33.70, 154.14°)
OKLaboklab(47.13% -0.0825 0.0371)
OKLCHoklch(47.13% 0.09 155.8)
XYZxyz(7.1027, 11.1882, 7.4143)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A45 #6A284D
analogous
#2C6A28 #286A45 #286A66
triadic
#286A45 #45286A #6A4528
tetradic
#286A45 #282C6A #6A284D #6A6628
square
#286A45 #282C6A #6A284D #6A6628
split-complementary
#286A45 #66286A #6A282C
monochromatic
#08160E #173E28 #286A45 #399662 #50BD80

Accessibility & contrast

On white

6.49
#286A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#286A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A45
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A45#FFFFFF#000000##FFFFFF
##286A451.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6243
Deuteranopia (green-blind)
#615B47
Tritanopia (blue-blind)
#0F6960
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286a45;
/* rgb */ color: rgb(40, 106, 69);
/* oklch */ color: oklch(47.1% 0.090 155.8);
Tailwind
colors: {
  custom: {
    50: '#699579',
    500: '#286a45',
    950: '#000000',
  },
}
SCSS
$custom: #286a45;
$custom-light: #699579;
$custom-dark: #000000;
JSON
{
  "hex": "#286a45",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 69
  },
  "hsl": {
    "h": 146.364,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47134,
    "c": 0.09042,
    "h": 155.8
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#286A45
secondary
#9D517B
accent
#539CD5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D09
muted
#7A7E7B

Preview Lab

Preview with #286A45

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

Preview Lab → · Contrast checker → · Palette generator →

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