#286241#286241

#286241 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.082 H 155.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#286241
RGBrgb(40, 98, 65)
HSLhsl(146, 42%, 27%)
HSVhsv(146, 59%, 38%)
CMYKcmyk(59.2%, 0%, 33.7%, 61.6%)
CIE-LABlab(37.05, -27.45, 13.23)
CIE-LCHlch(37.05, 30.47, 154.27°)
OKLaboklab(44.78% -0.0748 0.0335)
OKLCHoklch(44.78% 0.082 155.9)
XYZxyz(6.1964, 9.5676, 6.5202)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286241 #622849
analogous
#2C6228 #286241 #28625E
triadic
#286241 #412862 #624128
tetradic
#286241 #282C62 #622849 #625E28
square
#286241 #282C62 #622849 #625E28
split-complementary
#286241 #5E2862 #62282C
monochromatic
#09160E #163724 #286241 #3A8D5E #4EB77B

Accessibility & contrast

On white

7.21
#286241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#286241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286241
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286241#FFFFFF#000000##FFFFFF
##2862411.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3F
Deuteranopia (green-blind)
#595543
Tritanopia (blue-blind)
#166159
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286241;
/* rgb */ color: rgb(40, 98, 65);
/* oklch */ color: oklch(44.8% 0.082 155.9);
Tailwind
colors: {
  custom: {
    50: '#688f75',
    500: '#286241',
    950: '#000000',
  },
}
SCSS
$custom: #286241;
$custom-light: #688f75;
$custom-dark: #000000;
JSON
{
  "hex": "#286241",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 65
  },
  "hsl": {
    "h": 145.862,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44781,
    "c": 0.08194,
    "h": 155.9
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

primary
#286241
secondary
#955178
accent
#569CD2
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #286241

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

Preview Lab → · Contrast checker → · Palette generator →

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