#286E2F#286E2F

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

Color values

HEX#286E2F
RGBrgb(40, 110, 47)
HSLhsl(126, 47%, 29%)
HSVhsv(126, 64%, 43%)
CMYKcmyk(63.6%, 0%, 57.3%, 56.9%)
CIE-LABlab(40.91, -36.08, 28.46)
CIE-LCHlch(40.91, 45.95, 141.73°)
OKLaboklab(47.85% -0.0977 0.068)
OKLCHoklch(47.85% 0.119 145.2)
XYZxyz(6.9637, 11.8076, 4.6009)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E2F #6E2867
analogous
#446E28 #286E2F #286E52
triadic
#286E2F #2F286E #6E2F28
tetradic
#286E2F #28446E #6E2867 #6E5228
square
#286E2F #28446E #6E2867 #6E5228
split-complementary
#286E2F #52286E #6E2844
monochromatic
#08160A #18411C #286E2F #389B42 #51C05C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286E2F#FFFFFF#000000##FFFFFF
##286E2F1.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)
#706429
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#196B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e2f;
/* rgb */ color: rgb(40, 110, 47);
/* oklch */ color: oklch(47.8% 0.119 145.2);
Tailwind
colors: {
  custom: {
    50: '#6a9869',
    500: '#286e2f',
    950: '#000000',
  },
}
SCSS
$custom: #286e2f;
$custom-light: #6a9869;
$custom-dark: #000000;
JSON
{
  "hex": "#286e2f",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 47
  },
  "hsl": {
    "h": 126,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.47847,
    "c": 0.11903,
    "h": 145.2
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#286E2F
secondary
#A05198
accent
#51C9D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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