#286E2E#286E2E

#286E2E is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.120 H 144.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#286E2E
RGBrgb(40, 110, 46)
HSLhsl(125, 47%, 29%)
HSVhsv(125, 64%, 43%)
CMYKcmyk(63.6%, 0%, 58.2%, 56.9%)
CIE-LABlab(40.90, -36.22, 28.97)
CIE-LCHlch(40.90, 46.38, 141.35°)
OKLaboklab(47.83% -0.0981 0.069)
OKLCHoklch(47.83% 0.12 144.9)
XYZxyz(6.9437, 11.7996, 4.4959)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E2E #6E2868
analogous
#456E28 #286E2E #286E51
triadic
#286E2E #2E286E #6E2E28
tetradic
#286E2E #28456E #6E2868 #6E5128
square
#286E2E #28456E #6E2868 #6E5128
split-complementary
#286E2E #51286E #6E2845
monochromatic
#081609 #18411B #286E2E #389B41 #51C05A

Accessibility & contrast

On white

6.25
#286E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#286E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E2E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E2E#FFFFFF#000000##FFFFFF
##286E2E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706428
Deuteranopia (green-blind)
#675E33
Tritanopia (blue-blind)
#196B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e2e;
/* rgb */ color: rgb(40, 110, 46);
/* oklch */ color: oklch(47.8% 0.120 144.9);
Tailwind
colors: {
  custom: {
    50: '#6a9869',
    500: '#286e2e',
    950: '#000000',
  },
}
SCSS
$custom: #286e2e;
$custom-light: #6a9869;
$custom-dark: #000000;
JSON
{
  "hex": "#286e2e",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 46
  },
  "hsl": {
    "h": 125.143,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.47832,
    "c": 0.11998,
    "h": 144.9
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#286E2E
secondary
#A0519A
accent
#51CBD6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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