#286337#286337

#286337 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.8% C 0.094 H 149.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#286337
RGBrgb(40, 99, 55)
HSLhsl(135, 42%, 27%)
HSVhsv(135, 60%, 39%)
CMYKcmyk(59.6%, 0%, 44.4%, 61.2%)
CIE-LABlab(37.21, -29.97, 19.37)
CIE-LCHlch(37.21, 35.68, 147.13°)
OKLaboklab(44.84% -0.0811 0.0479)
OKLCHoklch(44.84% 0.094 149.5)
XYZxyz(6.0261, 9.6501, 5.1588)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286337 #632854
analogous
#376328 #286337 #286355
triadic
#286337 #372863 #633728
tetradic
#286337 #283763 #632854 #635528
square
#286337 #283763 #632854 #635528
split-complementary
#286337 #552863 #632837
monochromatic
#09160C #16371F #286337 #3A8F4F #4EB769

Accessibility & contrast

On white

7.17
#286337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#286337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286337
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286337#FFFFFF#000000##FFFFFF
##2863371.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B34
Deuteranopia (green-blind)
#5C553A
Tritanopia (blue-blind)
#1A6158
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286337;
/* rgb */ color: rgb(40, 99, 55);
/* oklch */ color: oklch(44.8% 0.094 149.5);
Tailwind
colors: {
  custom: {
    50: '#68906e',
    500: '#286337',
    950: '#000000',
  },
}
SCSS
$custom: #286337;
$custom-light: #68906e;
$custom-dark: #000000;
JSON
{
  "hex": "#286337",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 55
  },
  "hsl": {
    "h": 135.254,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44842,
    "c": 0.09421,
    "h": 149.5
  },
  "luminance": 0.09651
}

Semantic roles & 50–950 ramp

primary
#286337
secondary
#965184
accent
#56B3D2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286337

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

Preview Lab → · Contrast checker → · Palette generator →

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