#286221#286221

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

Color values

HEX#286221
RGBrgb(40, 98, 33)
HSLhsl(114, 50%, 26%)
HSVhsv(114, 66%, 38%)
CMYKcmyk(59.2%, 0%, 66.3%, 61.6%)
CIE-LABlab(36.55, -32.90, 30.58)
CIE-LCHlch(36.55, 44.92, 137.09°)
OKLaboklab(44.2% -0.0898 0.0713)
OKLCHoklch(44.2% 0.115 141.6)
XYZxyz(5.5170, 9.2958, 2.9421)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286221 #5B2162
analogous
#486221 #286221 #21623A
triadic
#286221 #212862 #622128
tetradic
#286221 #214862 #5B2162 #623A21
square
#286221 #214862 #5B2162 #623A21
split-complementary
#286221 #3A2162 #622148
monochromatic
#091708 #153412 #286221 #3B9030 #4DBE40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286221#FFFFFF#000000##FFFFFF
##2862211.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)
#64591A
Deuteranopia (green-blind)
#5D5426
Tritanopia (blue-blind)
#205F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286221;
/* rgb */ color: rgb(40, 98, 33);
/* oklch */ color: oklch(44.2% 0.115 141.6);
Tailwind
colors: {
  custom: {
    50: '#698f5f',
    500: '#286221',
    950: '#000000',
  },
}
SCSS
$custom: #286221;
$custom-light: #698f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#286221",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 113.538,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.442,
    "c": 0.11468,
    "h": 141.6
  },
  "luminance": 0.09296
}

Semantic roles & 50–950 ramp

primary
#286221
secondary
#8E4996
accent
#4FD9CA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #286221

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

Preview Lab → · Contrast checker → · Palette generator →

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