#286E28#286E28

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

Color values

HEX#286E28
RGBrgb(40, 110, 40)
HSLhsl(120, 47%, 29%)
HSVhsv(120, 64%, 43%)
CMYKcmyk(63.6%, 0%, 63.6%, 56.9%)
CIE-LABlab(40.82, -37.03, 31.96)
CIE-LCHlch(40.82, 48.91, 139.20°)
OKLaboklab(47.75% -0.1006 0.075)
OKLCHoklch(47.75% 0.125 143.3)
XYZxyz(6.8336, 11.7555, 3.9160)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E28 #6E286E
analogous
#4B6E28 #286E28 #286E4B
triadic
#286E28 #28286E #6E2828
tetradic
#286E28 #284B6E #6E286E #6E4B28
square
#286E28 #284B6E #6E286E #6E4B28
split-complementary
#286E28 #4B286E #6E284B
monochromatic
#081608 #184118 #286E28 #389B38 #51C051

Accessibility & contrast

On white

6.27
#286E28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286E28
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E28#FFFFFF#000000##FFFFFF
##286E281.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706420
Deuteranopia (green-blind)
#685E2E
Tritanopia (blue-blind)
#1B6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e28;
/* rgb */ color: rgb(40, 110, 40);
/* oklch */ color: oklch(47.8% 0.125 143.3);
Tailwind
colors: {
  custom: {
    50: '#6b9865',
    500: '#286e28',
    950: '#000000',
  },
}
SCSS
$custom: #286e28;
$custom-light: #6b9865;
$custom-dark: #000000;
JSON
{
  "hex": "#286e28",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.47751,
    "c": 0.12545,
    "h": 143.3
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#286E28
secondary
#A051A0
accent
#51D6D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286E28

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

Preview Lab → · Contrast checker → · Palette generator →

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