#286E31#286E31

#286E31 is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.9% C 0.117 H 145.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#286E31
RGBrgb(40, 110, 49)
HSLhsl(128, 47%, 29%)
HSVhsv(128, 64%, 43%)
CMYKcmyk(63.6%, 0%, 55.5%, 56.9%)
CIE-LABlab(40.94, -35.78, 27.42)
CIE-LCHlch(40.94, 45.08, 142.53°)
OKLaboklab(47.88% -0.0968 0.0659)
OKLCHoklch(47.88% 0.117 145.8)
XYZxyz(7.0049, 11.8241, 4.8183)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E31 #6E2865
analogous
#426E28 #286E31 #286E54
triadic
#286E31 #31286E #6E3128
tetradic
#286E31 #28426E #6E2865 #6E5428
square
#286E31 #28426E #6E2865 #6E5428
split-complementary
#286E31 #54286E #6E2842
monochromatic
#08160A #18411D #286E31 #389B45 #51C05F

Accessibility & contrast

On white

6.24
#286E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#286E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E31
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E31#FFFFFF#000000##FFFFFF
##286E311.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70642C
Deuteranopia (green-blind)
#675E35
Tritanopia (blue-blind)
#186B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e31;
/* rgb */ color: rgb(40, 110, 49);
/* oklch */ color: oklch(47.9% 0.117 145.8);
Tailwind
colors: {
  custom: {
    50: '#6a986b',
    500: '#286e31',
    950: '#000000',
  },
}
SCSS
$custom: #286e31;
$custom-light: #6a986b;
$custom-dark: #000000;
JSON
{
  "hex": "#286e31",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 49
  },
  "hsl": {
    "h": 127.714,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.1171,
    "h": 145.8
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#286E31
secondary
#A05196
accent
#51C5D6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286E31

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

Preview Lab → · Contrast checker → · Palette generator →

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