#286D2A#286D2A

#286D2A is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.122 H 143.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#286D2A
RGBrgb(40, 109, 42)
HSLhsl(122, 46%, 29%)
HSVhsv(122, 63%, 43%)
CMYKcmyk(63.3%, 0%, 61.5%, 57.3%)
CIE-LABlab(40.50, -36.36, 30.57)
CIE-LCHlch(40.50, 47.51, 139.94°)
OKLaboklab(47.49% -0.0987 0.0722)
OKLCHoklch(47.49% 0.122 143.8)
XYZxyz(6.7612, 11.5549, 4.0641)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D2A #6D286B
analogous
#496D28 #286D2A #286D4D
triadic
#286D2A #2A286D #6D2A28
tetradic
#286D2A #28496D #6D286B #6D4D28
square
#286D2A #28496D #6D286B #6D4D28
split-complementary
#286D2A #4D286D #6D2849
monochromatic
#081609 #184019 #286D2A #389A3B #50BF54

Accessibility & contrast

On white

6.34
#286D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#286D2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D2A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D2A#FFFFFF#000000##FFFFFF
##286D2A1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6323
Deuteranopia (green-blind)
#665D2F
Tritanopia (blue-blind)
#1B6A5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286d2a;
/* rgb */ color: rgb(40, 109, 42);
/* oklch */ color: oklch(47.5% 0.122 143.8);
Tailwind
colors: {
  custom: {
    50: '#6a9766',
    500: '#286d2a',
    950: '#000000',
  },
}
SCSS
$custom: #286d2a;
$custom-light: #6a9766;
$custom-dark: #000000;
JSON
{
  "hex": "#286d2a",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 42
  },
  "hsl": {
    "h": 121.739,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4749,
    "c": 0.12227,
    "h": 143.8
  },
  "luminance": 0.11556
}

Semantic roles & 50–950 ramp

primary
#286D2A
secondary
#9F519D
accent
#52D2D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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