#286F40#286F40

#286F40 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.4% C 0.103 H 151.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#286F40
RGBrgb(40, 111, 64)
HSLhsl(140, 47%, 30%)
HSVhsv(140, 64%, 44%)
CMYKcmyk(64%, 0%, 42.3%, 56.5%)
CIE-LABlab(41.52, -33.60, 19.78)
CIE-LCHlch(41.52, 38.99, 149.51°)
OKLaboklab(48.43% -0.0909 0.0491)
OKLCHoklch(48.43% 0.103 151.6)
XYZxyz(7.4843, 12.1894, 6.8079)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F40 #6F2857
analogous
#336F28 #286F40 #286F64
triadic
#286F40 #40286F #6F4028
tetradic
#286F40 #28336F #6F2857 #6F6428
square
#286F40 #28336F #6F2857 #6F6428
split-complementary
#286F40 #64286F #6F2833
monochromatic
#08160D #184226 #286F40 #389C5A #51C077

Accessibility & contrast

On white

6.11
#286F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#286F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F40
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F40#FFFFFF#000000##FFFFFF
##286F401.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F663D
Deuteranopia (green-blind)
#665F43
Tritanopia (blue-blind)
#106D63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f40;
/* rgb */ color: rgb(40, 111, 64);
/* oklch */ color: oklch(48.4% 0.103 151.6);
Tailwind
colors: {
  custom: {
    50: '#6a9975',
    500: '#286f40',
    950: '#000000',
  },
}
SCSS
$custom: #286f40;
$custom-light: #6a9975;
$custom-dark: #000000;
JSON
{
  "hex": "#286f40",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 140.282,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48432,
    "c": 0.10331,
    "h": 151.6
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

primary
#286F40
secondary
#A15186
accent
#51AAD7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #286F40

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

Preview Lab → · Contrast checker → · Palette generator →

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