#286F3C#286F3C

#286F3C is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.4% C 0.107 H 149.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#286F3C
RGBrgb(40, 111, 60)
HSLhsl(137, 47%, 30%)
HSVhsv(137, 64%, 44%)
CMYKcmyk(64%, 0%, 45.9%, 56.5%)
CIE-LABlab(41.45, -34.36, 21.98)
CIE-LCHlch(41.45, 40.79, 147.39°)
OKLaboklab(48.35% -0.0928 0.0541)
OKLCHoklch(48.35% 0.107 149.8)
XYZxyz(7.3746, 12.1455, 6.2298)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F3C #6F285B
analogous
#386F28 #286F3C #286F60
triadic
#286F3C #3C286F #6F3C28
tetradic
#286F3C #28386F #6F285B #6F6028
square
#286F3C #28386F #6F285B #6F6028
split-complementary
#286F3C #60286F #6F2838
monochromatic
#08160C #184224 #286F3C #389C54 #51C070

Accessibility & contrast

On white

6.12
#286F3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#286F3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F3C
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F3C#FFFFFF#000000##FFFFFF
##286F3C1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706638
Deuteranopia (green-blind)
#675F3F
Tritanopia (blue-blind)
#136D63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f3c;
/* rgb */ color: rgb(40, 111, 60);
/* oklch */ color: oklch(48.4% 0.107 149.8);
Tailwind
colors: {
  custom: {
    50: '#6a9972',
    500: '#286f3c',
    950: '#000000',
  },
}
SCSS
$custom: #286f3c;
$custom-light: #6a9972;
$custom-dark: #000000;
JSON
{
  "hex": "#286f3c",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 60
  },
  "hsl": {
    "h": 136.901,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48352,
    "c": 0.10746,
    "h": 149.8
  },
  "luminance": 0.12146
}

Semantic roles & 50–950 ramp

primary
#286F3C
secondary
#A1518B
accent
#51B1D7
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #286F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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