#286222#286222

#286222 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.114 H 141.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#286222
RGBrgb(40, 98, 34)
HSLhsl(114, 48%, 26%)
HSVhsv(114, 65%, 38%)
CMYKcmyk(59.2%, 0%, 65.3%, 61.6%)
CIE-LABlab(36.56, -32.79, 30.10)
CIE-LCHlch(36.56, 44.51, 137.45°)
OKLaboklab(44.21% -0.0894 0.0704)
OKLCHoklch(44.21% 0.114 141.8)
XYZxyz(5.5312, 9.3015, 3.0170)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286222 #5C2262
analogous
#486222 #286222 #22623C
triadic
#286222 #222862 #622228
tetradic
#286222 #224862 #5C2262 #623C22
square
#286222 #224862 #5C2262 #623C22
split-complementary
#286222 #3C2262 #622248
monochromatic
#091708 #153512 #286222 #3B8F32 #4DBD42

Accessibility & contrast

On white

7.34
#286222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#286222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286222
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286222#FFFFFF#000000##FFFFFF
##2862221.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591B
Deuteranopia (green-blind)
#5D5427
Tritanopia (blue-blind)
#205F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286222;
/* rgb */ color: rgb(40, 98, 34);
/* oklch */ color: oklch(44.2% 0.114 141.8);
Tailwind
colors: {
  custom: {
    50: '#698f60',
    500: '#286222',
    950: '#000000',
  },
}
SCSS
$custom: #286222;
$custom-light: #698f60;
$custom-dark: #000000;
JSON
{
  "hex": "#286222",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 34
  },
  "hsl": {
    "h": 114.375,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44212,
    "c": 0.1138,
    "h": 141.8
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#286222
secondary
#8F4A96
accent
#50D8CB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #286222

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

Preview Lab → · Contrast checker → · Palette generator →

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