#286E2A#286E2A

#286E2A is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.124 H 143.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#286E2A
RGBrgb(40, 110, 42)
HSLhsl(122, 47%, 29%)
HSVhsv(122, 64%, 43%)
CMYKcmyk(63.6%, 0%, 61.8%, 56.9%)
CIE-LABlab(40.85, -36.77, 30.98)
CIE-LCHlch(40.85, 48.08, 139.89°)
OKLaboklab(47.78% -0.0998 0.0731)
OKLCHoklch(47.78% 0.124 143.8)
XYZxyz(6.8685, 11.7695, 4.0998)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E2A #6E286C
analogous
#496E28 #286E2A #286E4D
triadic
#286E2A #2A286E #6E2A28
tetradic
#286E2A #28496E #6E286C #6E4D28
square
#286E2A #28496E #6E286C #6E4D28
split-complementary
#286E2A #4D286E #6E2849
monochromatic
#081609 #184119 #286E2A #389B3B #51C054

Accessibility & contrast

On white

6.26
#286E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#286E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E2A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E2A#FFFFFF#000000##FFFFFF
##286E2A1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706423
Deuteranopia (green-blind)
#675E2F
Tritanopia (blue-blind)
#1A6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e2a;
/* rgb */ color: rgb(40, 110, 42);
/* oklch */ color: oklch(47.8% 0.124 143.8);
Tailwind
colors: {
  custom: {
    50: '#6b9866',
    500: '#286e2a',
    950: '#000000',
  },
}
SCSS
$custom: #286e2a;
$custom-light: #6b9866;
$custom-dark: #000000;
JSON
{
  "hex": "#286e2a",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 42
  },
  "hsl": {
    "h": 121.714,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.12368,
    "h": 143.8
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#286E2A
secondary
#A0519E
accent
#51D3D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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