#286A34#286A34

#286A34 is a mid, moderate green. Relative luminance 0.110; OKLCH L 46.8% C 0.108 H 147.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#286A34
RGBrgb(40, 106, 52)
HSLhsl(131, 45%, 29%)
HSVhsv(131, 62%, 42%)
CMYKcmyk(62.3%, 0%, 50.9%, 58.4%)
CIE-LABlab(39.59, -33.60, 24.12)
CIE-LCHlch(39.59, 41.36, 144.33°)
OKLaboklab(46.79% -0.0909 0.0587)
OKLCHoklch(46.79% 0.108 147.2)
XYZxyz(6.6485, 11.0065, 5.0222)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A34 #6A285E
analogous
#3D6A28 #286A34 #286A55
triadic
#286A34 #34286A #6A3428
tetradic
#286A34 #283D6A #6A285E #6A5528
square
#286A34 #283D6A #6A285E #6A5528
split-complementary
#286A34 #55286A #6A283D
monochromatic
#08160B #173E1E #286A34 #39964A #50BD63

Accessibility & contrast

On white

6.56
#286A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#286A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A34
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A34#FFFFFF#000000##FFFFFF
##286A341.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6130
Deuteranopia (green-blind)
#635B38
Tritanopia (blue-blind)
#19685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a34;
/* rgb */ color: rgb(40, 106, 52);
/* oklch */ color: oklch(46.8% 0.108 147.2);
Tailwind
colors: {
  custom: {
    50: '#69956c',
    500: '#286a34',
    950: '#000000',
  },
}
SCSS
$custom: #286a34;
$custom-light: #69956c;
$custom-dark: #000000;
JSON
{
  "hex": "#286a34",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 52
  },
  "hsl": {
    "h": 130.909,
    "s": 45.205,
    "l": 28.627
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.10817,
    "h": 147.2
  },
  "luminance": 0.11007
}

Semantic roles & 50–950 ramp

primary
#286A34
secondary
#9D518F
accent
#53BDD5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D07
muted
#7A7E7A

Preview Lab

Preview with #286A34

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

Preview Lab → · Contrast checker → · Palette generator →

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