#287E4E#287E4E

#287E4E is a mid, moderate green. Relative luminance 0.159; OKLCH L 52.9% C 0.111 H 154.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#287E4E
RGBrgb(40, 126, 78)
HSLhsl(147, 52%, 33%)
HSVhsv(147, 68%, 49%)
CMYKcmyk(68.3%, 0%, 38.1%, 50.6%)
CIE-LABlab(46.87, -37.26, 18.87)
CIE-LCHlch(46.87, 41.76, 153.14°)
OKLaboklab(52.92% -0.1008 0.0473)
OKLCHoklch(52.92% 0.111 154.9)
XYZxyz(9.7102, 15.9219, 9.7677)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E4E #7E2858
analogous
#2D7E28 #287E4E #287E79
triadic
#287E4E #4E287E #7E4E28
tetradic
#287E4E #282D7E #7E2858 #7E7928
square
#287E4E #282D7E #7E2858 #7E7928
split-complementary
#287E4E #79287E #7E282D
monochromatic
#0B2114 #195031 #287E4E #37AC6B #57CA8A

Accessibility & contrast

On white

5.02
#287E4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#287E4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E4E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E4E#FFFFFF#000000##FFFFFF
##287E4E1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744B
Deuteranopia (green-blind)
#736C51
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #287e4e;
/* rgb */ color: rgb(40, 126, 78);
/* oklch */ color: oklch(52.9% 0.111 154.9);
Tailwind
colors: {
  custom: {
    50: '#6da480',
    500: '#287e4e',
    950: '#000000',
  },
}
SCSS
$custom: #287e4e;
$custom-light: #6da480;
$custom-dark: #000000;
JSON
{
  "hex": "#287e4e",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 146.512,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52919,
    "c": 0.11138,
    "h": 154.9
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#287E4E
secondary
#AF5386
accent
#4D9CDB
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#080F0A
muted
#7A7F7C

Preview Lab

Preview with #287E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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