#286A39#286A39

#286A39 is a mid, moderate green. Relative luminance 0.111; OKLCH L 46.9% C 0.103 H 149.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#286A39
RGBrgb(40, 106, 57)
HSLhsl(135, 45%, 29%)
HSVhsv(135, 62%, 42%)
CMYKcmyk(62.3%, 0%, 46.2%, 58.4%)
CIE-LABlab(39.67, -32.73, 21.40)
CIE-LCHlch(39.67, 39.10, 146.82°)
OKLaboklab(46.88% -0.0885 0.0527)
OKLCHoklch(46.88% 0.103 149.2)
XYZxyz(6.7671, 11.0540, 5.6471)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A39 #6A2859
analogous
#386A28 #286A39 #286A5A
triadic
#286A39 #39286A #6A3928
tetradic
#286A39 #28386A #6A2859 #6A5A28
square
#286A39 #28386A #6A2859 #6A5A28
split-complementary
#286A39 #5A286A #6A2838
monochromatic
#08160C #173E21 #286A39 #399651 #50BD6C

Accessibility & contrast

On white

6.54
#286A39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#286A39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A39
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A39#FFFFFF#000000##FFFFFF
##286A391.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6135
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#16685E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a39;
/* rgb */ color: rgb(40, 106, 57);
/* oklch */ color: oklch(46.9% 0.103 149.2);
Tailwind
colors: {
  custom: {
    50: '#699570',
    500: '#286a39',
    950: '#000000',
  },
}
SCSS
$custom: #286a39;
$custom-light: #699570;
$custom-dark: #000000;
JSON
{
  "hex": "#286a39",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 57
  },
  "hsl": {
    "h": 135.455,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46876,
    "c": 0.10298,
    "h": 149.2
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#286A39
secondary
#9D5189
accent
#53B3D5
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #286A39

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

Preview Lab → · Contrast checker → · Palette generator →

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