#286A22#286A22

#286A22 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.125 H 142.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#286A22
RGBrgb(40, 106, 34)
HSLhsl(115, 51%, 27%)
HSVhsv(115, 68%, 42%)
CMYKcmyk(62.3%, 0%, 67.9%, 58.4%)
CIE-LABlab(39.37, -36.12, 33.24)
CIE-LCHlch(39.37, 49.08, 137.38°)
OKLaboklab(46.53% -0.0985 0.0771)
OKLCHoklch(46.53% 0.125 142)
XYZxyz(6.3175, 10.8741, 3.2791)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A22 #64226A
analogous
#4C6A22 #286A22 #226A40
triadic
#286A22 #22286A #6A2228
tetradic
#286A22 #224C6A #64226A #6A4022
square
#286A22 #224C6A #64226A #6A4022
split-complementary
#286A22 #40226A #6A224C
monochromatic
#091707 #173C13 #286A22 #399831 #4EC344

Accessibility & contrast

On white

6.61
#286A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#286A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A22
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A22#FFFFFF#000000##FFFFFF
##286A221.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6019
Deuteranopia (green-blind)
#645B28
Tritanopia (blue-blind)
#1E675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a22;
/* rgb */ color: rgb(40, 106, 34);
/* oklch */ color: oklch(46.5% 0.125 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a9561',
    500: '#286a22',
    950: '#000000',
  },
}
SCSS
$custom: #286a22;
$custom-light: #6a9561;
$custom-dark: #000000;
JSON
{
  "hex": "#286a22",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 115,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46528,
    "c": 0.12503,
    "h": 142
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#286A22
secondary
#974A9E
accent
#4DDBCF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286A22

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

Preview Lab → · Contrast checker → · Palette generator →

#286A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva