#287A4E#287A4E

#287A4E is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.8% C 0.106 H 156.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#287A4E
RGBrgb(40, 122, 78)
HSLhsl(148, 51%, 32%)
HSVhsv(148, 67%, 48%)
CMYKcmyk(67.2%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.52, -35.54, 17.06)
CIE-LCHlch(45.52, 39.42, 154.36°)
OKLaboklab(51.81% -0.0964 0.0429)
OKLCHoklch(51.81% 0.106 156)
XYZxyz(9.2089, 14.9193, 9.6006)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A4E #7A2854
analogous
#2B7A28 #287A4E #287A77
triadic
#287A4E #4E287A #7A4E28
tetradic
#287A4E #282B7A #7A2854 #7A7728
square
#287A4E #282B7A #7A2854 #7A7728
split-complementary
#287A4E #77287A #7A282B
monochromatic
#0A1E13 #194C31 #287A4E #37A86B #55C78A

Accessibility & contrast

On white

5.27
#287A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#287A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A4E
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A4E#FFFFFF#000000##FFFFFF
##287A4E1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704B
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #287a4e;
/* rgb */ color: rgb(40, 122, 78);
/* oklch */ color: oklch(51.8% 0.106 156.0);
Tailwind
colors: {
  custom: {
    50: '#6ca180',
    500: '#287a4e',
    950: '#000000',
  },
}
SCSS
$custom: #287a4e;
$custom-light: #6ca180;
$custom-dark: #000000;
JSON
{
  "hex": "#287a4e",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 147.805,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51811,
    "c": 0.10552,
    "h": 156
  },
  "luminance": 0.1492
}

Semantic roles & 50–950 ramp

primary
#287A4E
secondary
#AC5282
accent
#4E99DA
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #287A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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