#287641#287641

#287641 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.4% C 0.113 H 150.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#287641
RGBrgb(40, 118, 65)
HSLhsl(139, 49%, 31%)
HSVhsv(139, 66%, 46%)
CMYKcmyk(66.1%, 0%, 44.9%, 53.7%)
CIE-LABlab(43.93, -36.42, 22.36)
CIE-LCHlch(43.93, 42.74, 148.45°)
OKLaboklab(50.42% -0.0983 0.0552)
OKLCHoklch(50.42% 0.113 150.7)
XYZxyz(8.3070, 13.7888, 7.2237)
Luminance0.1379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287641 #76285D
analogous
#367628 #287641 #287668
triadic
#287641 #412876 #764128
tetradic
#287641 #283676 #76285D #766828
square
#287641 #283676 #76285D #766828
split-complementary
#287641 #682876 #762836
monochromatic
#091B0F #194828 #287641 #37A45A #54C578

Accessibility & contrast

On white

5.59
#287641 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#287641 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287641
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287641#FFFFFF#000000##FFFFFF
##2876411.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776C3D
Deuteranopia (green-blind)
#6D6545
Tritanopia (blue-blind)
#0B7469
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287641;
/* rgb */ color: rgb(40, 118, 65);
/* oklch */ color: oklch(50.4% 0.113 150.7);
Tailwind
colors: {
  custom: {
    50: '#6b9e76',
    500: '#287641',
    950: '#000000',
  },
}
SCSS
$custom: #287641;
$custom-light: #6b9e76;
$custom-dark: #000000;
JSON
{
  "hex": "#287641",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 65
  },
  "hsl": {
    "h": 139.231,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50422,
    "c": 0.11276,
    "h": 150.7
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#287641
secondary
#A8528C
accent
#4FADD9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #287641

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

Preview Lab → · Contrast checker → · Palette generator →

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