#286642#286642

#286642 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.9% C 0.087 H 155.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#286642
RGBrgb(40, 102, 66)
HSLhsl(145, 44%, 28%)
HSVhsv(145, 61%, 40%)
CMYKcmyk(60.8%, 0%, 35.3%, 60%)
CIE-LABlab(38.46, -29.12, 14.53)
CIE-LCHlch(38.46, 32.55, 153.48°)
OKLaboklab(45.94% -0.0792 0.0366)
OKLCHoklch(45.94% 0.087 155.2)
XYZxyz(6.6093, 10.3466, 6.8020)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286642 #66284C
analogous
#2D6628 #286642 #286661
triadic
#286642 #422866 #664228
tetradic
#286642 #282D66 #66284C #666128
square
#286642 #282D66 #66284C #666128
split-complementary
#286642 #612866 #66282D
monochromatic
#09160E #173A26 #286642 #39925E #4FBA7C

Accessibility & contrast

On white

6.84
#286642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#286642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286642
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286642#FFFFFF#000000##FFFFFF
##2866421.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E40
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#13655D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #286642;
/* rgb */ color: rgb(40, 102, 66);
/* oklch */ color: oklch(45.9% 0.087 155.2);
Tailwind
colors: {
  custom: {
    50: '#689276',
    500: '#286642',
    950: '#000000',
  },
}
SCSS
$custom: #286642;
$custom-light: #689276;
$custom-dark: #000000;
JSON
{
  "hex": "#286642",
  "rgb": {
    "r": 40,
    "g": 102,
    "b": 66
  },
  "hsl": {
    "h": 145.161,
    "s": 43.662,
    "l": 27.843
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.08726,
    "h": 155.2
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#286642
secondary
#99517B
accent
#549ED3
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #286642

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

Preview Lab → · Contrast checker → · Palette generator →

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