#286541#286541

#286541 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.6% C 0.087 H 154.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#286541
RGBrgb(40, 101, 65)
HSLhsl(145, 43%, 28%)
HSVhsv(145, 60%, 40%)
CMYKcmyk(60.4%, 0%, 35.6%, 60.4%)
CIE-LABlab(38.09, -28.87, 14.64)
CIE-LCHlch(38.09, 32.37, 153.12°)
OKLaboklab(45.63% -0.0785 0.0369)
OKLCHoklch(45.63% 0.087 154.8)
XYZxyz(6.4824, 10.1395, 6.6155)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286541 #65284C
analogous
#2E6528 #286541 #28655F
triadic
#286541 #412865 #654128
tetradic
#286541 #282E65 #65284C #655F28
square
#286541 #282E65 #65284C #655F28
split-complementary
#286541 #5F2865 #65282E
monochromatic
#09160E #173925 #286541 #39915D #4EB97A

Accessibility & contrast

On white

6.94
#286541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#286541 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286541
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286541#FFFFFF#000000##FFFFFF
##2865411.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D3F
Deuteranopia (green-blind)
#5C5743
Tritanopia (blue-blind)
#14645C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286541;
/* rgb */ color: rgb(40, 101, 65);
/* oklch */ color: oklch(45.6% 0.087 154.8);
Tailwind
colors: {
  custom: {
    50: '#689176',
    500: '#286541',
    950: '#000000',
  },
}
SCSS
$custom: #286541;
$custom-light: #689176;
$custom-dark: #000000;
JSON
{
  "hex": "#286541",
  "rgb": {
    "r": 40,
    "g": 101,
    "b": 65
  },
  "hsl": {
    "h": 144.59,
    "s": 43.262,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4563,
    "c": 0.08673,
    "h": 154.8
  },
  "luminance": 0.1014
}

Semantic roles & 50–950 ramp

primary
#286541
secondary
#98517B
accent
#559FD3
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #286541

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

Preview Lab → · Contrast checker → · Palette generator →

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