#286122#286122

#286122 is a dark, moderate green. Relative luminance 0.091; OKLCH L 43.9% C 0.112 H 141.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#286122
RGBrgb(40, 97, 34)
HSLhsl(114, 48%, 26%)
HSVhsv(114, 65%, 38%)
CMYKcmyk(58.8%, 0%, 64.9%, 62%)
CIE-LABlab(36.21, -32.36, 29.70)
CIE-LCHlch(36.21, 43.92, 137.45°)
OKLaboklab(43.92% -0.0883 0.0695)
OKLCHoklch(43.92% 0.112 141.8)
XYZxyz(5.4382, 9.1155, 2.9860)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286122 #5B2261
analogous
#476122 #286122 #22613B
triadic
#286122 #222861 #612228
tetradic
#286122 #224761 #5B2261 #613B22
square
#286122 #224761 #5B2261 #613B22
split-complementary
#286122 #3B2261 #612247
monochromatic
#091708 #153412 #286122 #3B8E32 #4DBC42

Accessibility & contrast

On white

7.44
#286122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#286122 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286122
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286122#FFFFFF#000000##FFFFFF
##2861221.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63581B
Deuteranopia (green-blind)
#5C5327
Tritanopia (blue-blind)
#205E54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #286122;
/* rgb */ color: rgb(40, 97, 34);
/* oklch */ color: oklch(43.9% 0.112 141.8);
Tailwind
colors: {
  custom: {
    50: '#688e60',
    500: '#286122',
    950: '#000000',
  },
}
SCSS
$custom: #286122;
$custom-light: #688e60;
$custom-dark: #000000;
JSON
{
  "hex": "#286122",
  "rgb": {
    "r": 40,
    "g": 97,
    "b": 34
  },
  "hsl": {
    "h": 114.286,
    "s": 48.092,
    "l": 25.686
  },
  "oklch": {
    "l": 0.43922,
    "c": 0.11236,
    "h": 141.8
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #286122

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

Preview Lab → · Contrast checker → · Palette generator →

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