#286342#286342

#286342 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.083 H 156.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#286342
RGBrgb(40, 99, 66)
HSLhsl(146, 42%, 27%)
HSVhsv(146, 60%, 39%)
CMYKcmyk(59.6%, 0%, 33.3%, 61.2%)
CIE-LABlab(37.42, -27.71, 13.13)
CIE-LCHlch(37.42, 30.66, 154.65°)
OKLaboklab(45.09% -0.0755 0.0332)
OKLCHoklch(45.09% 0.083 156.3)
XYZxyz(6.3198, 9.7676, 6.7055)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286342 #632849
analogous
#2B6328 #286342 #286360
triadic
#286342 #422863 #634228
tetradic
#286342 #282B63 #632849 #636028
square
#286342 #282B63 #632849 #636028
split-complementary
#286342 #602863 #63282B
monochromatic
#09160F #163725 #286342 #3A8F5F #4EB77C

Accessibility & contrast

On white

7.11
#286342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#286342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286342
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286342#FFFFFF#000000##FFFFFF
##2863421.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625C40
Deuteranopia (green-blind)
#5A5644
Tritanopia (blue-blind)
#15625A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286342;
/* rgb */ color: rgb(40, 99, 66);
/* oklch */ color: oklch(45.1% 0.083 156.3);
Tailwind
colors: {
  custom: {
    50: '#689076',
    500: '#286342',
    950: '#000000',
  },
}
SCSS
$custom: #286342;
$custom-light: #689076;
$custom-dark: #000000;
JSON
{
  "hex": "#286342",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 66
  },
  "hsl": {
    "h": 146.441,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.0825,
    "h": 156.3
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#286342
secondary
#965177
accent
#569BD2
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #286342

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

Preview Lab → · Contrast checker → · Palette generator →

#286342 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva