#286940#286940

#286940 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.7% C 0.094 H 153.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#286940
RGBrgb(40, 105, 64)
HSLhsl(142, 45%, 28%)
HSVhsv(142, 62%, 41%)
CMYKcmyk(61.9%, 0%, 39%, 58.8%)
CIE-LABlab(39.45, -30.93, 17.05)
CIE-LCHlch(39.45, 35.32, 151.12°)
OKLaboklab(46.74% -0.0838 0.0427)
OKLCHoklch(46.74% 0.094 153)
XYZxyz(6.8515, 10.9238, 6.5969)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286940 #692851
analogous
#306928 #286940 #286960
triadic
#286940 #402869 #694028
tetradic
#286940 #283069 #692851 #696028
square
#286940 #283069 #692851 #696028
split-complementary
#286940 #602869 #692830
monochromatic
#08160E #173D25 #286940 #39955B #4FBC77

Accessibility & contrast

On white

6.59
#286940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#286940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286940
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286940#FFFFFF#000000##FFFFFF
##2869401.006.593.186.59
#FFFFFF6.591.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613D
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#13685F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286940;
/* rgb */ color: rgb(40, 105, 64);
/* oklch */ color: oklch(46.7% 0.094 153.0);
Tailwind
colors: {
  custom: {
    50: '#699475',
    500: '#286940',
    950: '#000000',
  },
}
SCSS
$custom: #286940;
$custom-light: #699475;
$custom-dark: #000000;
JSON
{
  "hex": "#286940",
  "rgb": {
    "r": 40,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 142.154,
    "s": 44.828,
    "l": 28.431
  },
  "oklch": {
    "l": 0.46738,
    "c": 0.09406,
    "h": 153
  },
  "luminance": 0.10924
}

Semantic roles & 50–950 ramp

primary
#286940
secondary
#9C5180
accent
#53A5D5
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #286940

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

Preview Lab → · Contrast checker → · Palette generator →

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