#286226#286226

#286226 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.110 H 142.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#286226
RGBrgb(40, 98, 38)
HSLhsl(118, 44%, 27%)
HSVhsv(118, 61%, 38%)
CMYKcmyk(59.2%, 0%, 61.2%, 61.6%)
CIE-LABlab(36.60, -32.27, 28.10)
CIE-LCHlch(36.60, 42.79, 138.96°)
OKLaboklab(44.27% -0.0878 0.0665)
OKLCHoklch(44.27% 0.11 142.9)
XYZxyz(5.5923, 9.3259, 3.3387)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286226 #602662
analogous
#466226 #286226 #266242
triadic
#286226 #262862 #622628
tetradic
#286226 #264662 #602662 #624226
square
#286226 #264662 #602662 #624226
split-complementary
#286226 #422662 #622646
monochromatic
#091609 #163615 #286226 #3A8E37 #4DB94A

Accessibility & contrast

On white

7.33
#286226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#286226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286226
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286226#FFFFFF#000000##FFFFFF
##2862261.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645920
Deuteranopia (green-blind)
#5D542B
Tritanopia (blue-blind)
#1F5F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286226;
/* rgb */ color: rgb(40, 98, 38);
/* oklch */ color: oklch(44.3% 0.110 142.9);
Tailwind
colors: {
  custom: {
    50: '#688f62',
    500: '#286226',
    950: '#000000',
  },
}
SCSS
$custom: #286226;
$custom-light: #688f62;
$custom-dark: #000000;
JSON
{
  "hex": "#286226",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 118,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.44265,
    "c": 0.11013,
    "h": 142.9
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#286226
secondary
#934F95
accent
#54D4D0
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79

Preview Lab

Preview with #286226

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

Preview Lab → · Contrast checker → · Palette generator →

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