#286F45#286F45

#286F45 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.5% C 0.098 H 154.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#286F45
RGBrgb(40, 111, 69)
HSLhsl(145, 47%, 30%)
HSVhsv(145, 64%, 44%)
CMYKcmyk(64%, 0%, 37.8%, 56.5%)
CIE-LABlab(41.61, -32.59, 17.01)
CIE-LCHlch(41.61, 36.77, 152.44°)
OKLaboklab(48.54% -0.0884 0.0427)
OKLCHoklch(48.54% 0.098 154.2)
XYZxyz(7.6331, 12.2489, 7.5911)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F45 #6F2852
analogous
#2F6F28 #286F45 #286F69
triadic
#286F45 #45286F #6F4528
tetradic
#286F45 #282F6F #6F2852 #6F6928
square
#286F45 #282F6F #6F2852 #6F6928
split-complementary
#286F45 #69286F #6F282F
monochromatic
#08160E #184229 #286F45 #389C61 #51C07F

Accessibility & contrast

On white

6.09
#286F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#286F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F45
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F45#FFFFFF#000000##FFFFFF
##286F451.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6642
Deuteranopia (green-blind)
#655F48
Tritanopia (blue-blind)
#0C6E64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f45;
/* rgb */ color: rgb(40, 111, 69);
/* oklch */ color: oklch(48.5% 0.098 154.2);
Tailwind
colors: {
  custom: {
    50: '#6a9979',
    500: '#286f45',
    950: '#000000',
  },
}
SCSS
$custom: #286f45;
$custom-light: #6a9979;
$custom-dark: #000000;
JSON
{
  "hex": "#286f45",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 69
  },
  "hsl": {
    "h": 144.507,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48539,
    "c": 0.09813,
    "h": 154.2
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#286F45
secondary
#A15181
accent
#51A0D7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #286F45

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

Preview Lab → · Contrast checker → · Palette generator →

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