#286F35#286F35

#286F35 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.2% C 0.115 H 147.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#286F35
RGBrgb(40, 111, 53)
HSLhsl(131, 47%, 30%)
HSVhsv(131, 64%, 44%)
CMYKcmyk(64%, 0%, 52.3%, 56.5%)
CIE-LABlab(41.34, -35.57, 25.75)
CIE-LCHlch(41.34, 43.91, 144.10°)
OKLaboklab(48.23% -0.0961 0.0624)
OKLCHoklch(48.23% 0.115 147)
XYZxyz(7.2016, 12.0763, 5.3189)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F35 #6F2862
analogous
#3F6F28 #286F35 #286F59
triadic
#286F35 #35286F #6F3528
tetradic
#286F35 #283F6F #6F2862 #6F5928
square
#286F35 #283F6F #6F2862 #6F5928
split-complementary
#286F35 #59286F #6F283F
monochromatic
#08160B #184220 #286F35 #389C4A #51C065

Accessibility & contrast

On white

6.15
#286F35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#286F35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F35
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F35#FFFFFF#000000##FFFFFF
##286F351.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706530
Deuteranopia (green-blind)
#675F39
Tritanopia (blue-blind)
#166D61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f35;
/* rgb */ color: rgb(40, 111, 53);
/* oklch */ color: oklch(48.2% 0.115 147.0);
Tailwind
colors: {
  custom: {
    50: '#6a996d',
    500: '#286f35',
    950: '#000000',
  },
}
SCSS
$custom: #286f35;
$custom-light: #6a996d;
$custom-dark: #000000;
JSON
{
  "hex": "#286f35",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 53
  },
  "hsl": {
    "h": 130.986,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48227,
    "c": 0.1146,
    "h": 147
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#286F35
secondary
#A15193
accent
#51BED7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #286F35

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

Preview Lab → · Contrast checker → · Palette generator →

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