#286140#286140

#286140 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.5% C 0.081 H 155.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#286140
RGBrgb(40, 97, 64)
HSLhsl(145, 42%, 27%)
HSVhsv(145, 59%, 38%)
CMYKcmyk(58.8%, 0%, 34%, 62%)
CIE-LABlab(36.69, -27.19, 13.33)
CIE-LCHlch(36.69, 30.28, 153.89°)
OKLaboklab(44.47% -0.0741 0.0337)
OKLCHoklch(44.47% 0.081 155.5)
XYZxyz(6.0747, 9.3701, 6.3380)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286140 #612849
analogous
#2D6128 #286140 #28615D
triadic
#286140 #402861 #614028
tetradic
#286140 #282D61 #612849 #615D28
square
#286140 #282D61 #612849 #615D28
split-complementary
#286140 #5D2861 #61282D
monochromatic
#09160E #163623 #286140 #3A8C5D #4EB679

Accessibility & contrast

On white

7.31
#286140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#286140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286140
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286140#FFFFFF#000000##FFFFFF
##2861401.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3E
Deuteranopia (green-blind)
#595442
Tritanopia (blue-blind)
#176058
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286140;
/* rgb */ color: rgb(40, 97, 64);
/* oklch */ color: oklch(44.5% 0.081 155.5);
Tailwind
colors: {
  custom: {
    50: '#678e75',
    500: '#286140',
    950: '#000000',
  },
}
SCSS
$custom: #286140;
$custom-light: #678e75;
$custom-dark: #000000;
JSON
{
  "hex": "#286140",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 64
  },
  "hsl": {
    "h": 145.263,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44474,
    "c": 0.08138,
    "h": 155.5
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#286140
secondary
#945178
accent
#569ED1
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #286140

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

Preview Lab → · Contrast checker → · Palette generator →

#286140 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva