#286F3F#286F3F

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

Color values

HEX#286F3F
RGBrgb(40, 111, 63)
HSLhsl(139, 47%, 30%)
HSVhsv(139, 64%, 44%)
CMYKcmyk(64%, 0%, 43.2%, 56.5%)
CIE-LABlab(41.50, -33.80, 20.34)
CIE-LCHlch(41.50, 39.44, 148.96°)
OKLaboklab(48.41% -0.0914 0.0504)
OKLCHoklch(48.41% 0.104 151.1)
XYZxyz(7.4561, 12.1781, 6.6593)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F3F #6F2858
analogous
#346F28 #286F3F #286F63
triadic
#286F3F #3F286F #6F3F28
tetradic
#286F3F #28346F #6F2858 #6F6328
square
#286F3F #28346F #6F2858 #6F6328
split-complementary
#286F3F #63286F #6F2834
monochromatic
#08160D #184225 #286F3F #389C59 #51C075

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286F3F#FFFFFF#000000##FFFFFF
##286F3F1.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)
#6F663C
Deuteranopia (green-blind)
#665F42
Tritanopia (blue-blind)
#116D63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f3f;
/* rgb */ color: rgb(40, 111, 63);
/* oklch */ color: oklch(48.4% 0.104 151.1);
Tailwind
colors: {
  custom: {
    50: '#6a9974',
    500: '#286f3f',
    950: '#000000',
  },
}
SCSS
$custom: #286f3f;
$custom-light: #6a9974;
$custom-dark: #000000;
JSON
{
  "hex": "#286f3f",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 63
  },
  "hsl": {
    "h": 139.437,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.10434,
    "h": 151.1
  },
  "luminance": 0.12179
}

Semantic roles & 50–950 ramp

primary
#286F3F
secondary
#A15187
accent
#51ABD7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #286F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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