#286B40#286B40

#286B40 is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.3% C 0.097 H 152.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#286B40
RGBrgb(40, 107, 64)
HSLhsl(141, 46%, 29%)
HSVhsv(141, 63%, 42%)
CMYKcmyk(62.6%, 0%, 40.2%, 58%)
CIE-LABlab(40.14, -31.83, 17.97)
CIE-LCHlch(40.14, 36.55, 150.55°)
OKLaboklab(47.3% -0.0862 0.0449)
OKLCHoklch(47.3% 0.097 152.5)
XYZxyz(7.0576, 11.3360, 6.6656)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B40 #6B2853
analogous
#326B28 #286B40 #286B62
triadic
#286B40 #40286B #6B4028
tetradic
#286B40 #28326B #6B2853 #6B6228
square
#286B40 #28326B #6B2853 #6B6228
split-complementary
#286B40 #62286B #6B2832
monochromatic
#08160D #173E25 #286B40 #39985B #50BE77

Accessibility & contrast

On white

6.43
#286B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#286B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B40
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B40#FFFFFF#000000##FFFFFF
##286B401.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B623D
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#126A60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286b40;
/* rgb */ color: rgb(40, 107, 64);
/* oklch */ color: oklch(47.3% 0.097 152.5);
Tailwind
colors: {
  custom: {
    50: '#699675',
    500: '#286b40',
    950: '#000000',
  },
}
SCSS
$custom: #286b40;
$custom-light: #699675;
$custom-dark: #000000;
JSON
{
  "hex": "#286b40",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 64
  },
  "hsl": {
    "h": 141.493,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47303,
    "c": 0.09718,
    "h": 152.5
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#286B40
secondary
#9D5182
accent
#53A6D5
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286B40

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

Preview Lab → · Contrast checker → · Palette generator →

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