#287A41#287A41

#287A41 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.5% C 0.119 H 150.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#287A41
RGBrgb(40, 122, 65)
HSLhsl(138, 51%, 32%)
HSVhsv(138, 67%, 48%)
CMYKcmyk(67.2%, 0%, 46.7%, 52.2%)
CIE-LABlab(45.29, -38.09, 24.11)
CIE-LCHlch(45.29, 45.08, 147.66°)
OKLaboklab(51.54% -0.1028 0.0592)
OKLCHoklch(51.54% 0.119 150)
XYZxyz(8.7881, 14.7509, 7.3841)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A41 #7A2861
analogous
#387A28 #287A41 #287A6A
triadic
#287A41 #41287A #7A4128
tetradic
#287A41 #28387A #7A2861 #7A6A28
square
#287A41 #28387A #7A2861 #7A6A28
split-complementary
#287A41 #6A287A #7A2838
monochromatic
#0A1E10 #194C28 #287A41 #37A85A #55C778

Accessibility & contrast

On white

5.32
#287A41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#287A41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A41
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A41#FFFFFF#000000##FFFFFF
##287A411.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703D
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#07786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287a41;
/* rgb */ color: rgb(40, 122, 65);
/* oklch */ color: oklch(51.5% 0.119 150.0);
Tailwind
colors: {
  custom: {
    50: '#6ca176',
    500: '#287a41',
    950: '#000000',
  },
}
SCSS
$custom: #287a41;
$custom-light: #6ca176;
$custom-dark: #000000;
JSON
{
  "hex": "#287a41",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 138.293,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51544,
    "c": 0.11863,
    "h": 150
  },
  "luminance": 0.14752
}

Semantic roles & 50–950 ramp

primary
#287A41
secondary
#AC5290
accent
#4EAFDA
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #287A41

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

Preview Lab → · Contrast checker → · Palette generator →

#287A41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva