#286F3D#286F3D

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

Color values

HEX#286F3D
RGBrgb(40, 111, 61)
HSLhsl(138, 47%, 30%)
HSVhsv(138, 64%, 44%)
CMYKcmyk(64%, 0%, 45%, 56.5%)
CIE-LABlab(41.46, -34.17, 21.43)
CIE-LCHlch(41.46, 40.34, 147.90°)
OKLaboklab(48.37% -0.0923 0.0529)
OKLCHoklch(48.37% 0.106 150.2)
XYZxyz(7.4013, 12.1562, 6.3703)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F3D #6F285A
analogous
#376F28 #286F3D #286F61
triadic
#286F3D #3D286F #6F3D28
tetradic
#286F3D #28376F #6F285A #6F6128
square
#286F3D #28376F #6F285A #6F6128
split-complementary
#286F3D #61286F #6F2837
monochromatic
#08160C #184224 #286F3D #389C56 #51C072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286F3D#FFFFFF#000000##FFFFFF
##286F3D1.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)
#706639
Deuteranopia (green-blind)
#665F40
Tritanopia (blue-blind)
#126D63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f3d;
/* rgb */ color: rgb(40, 111, 61);
/* oklch */ color: oklch(48.4% 0.106 150.2);
Tailwind
colors: {
  custom: {
    50: '#6a9973',
    500: '#286f3d',
    950: '#000000',
  },
}
SCSS
$custom: #286f3d;
$custom-light: #6a9973;
$custom-dark: #000000;
JSON
{
  "hex": "#286f3d",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 61
  },
  "hsl": {
    "h": 137.746,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48372,
    "c": 0.10642,
    "h": 150.2
  },
  "luminance": 0.12157
}

Semantic roles & 50–950 ramp

primary
#286F3D
secondary
#A1518A
accent
#51AFD7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #286F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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