#287B50#287B50

#287B50 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.1% C 0.105 H 156.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#287B50
RGBrgb(40, 123, 80)
HSLhsl(149, 51%, 32%)
HSVhsv(149, 67%, 48%)
CMYKcmyk(67.5%, 0%, 35%, 51.8%)
CIE-LABlab(45.90, -35.55, 16.41)
CIE-LCHlch(45.90, 39.15, 155.21°)
OKLaboklab(52.13% -0.0965 0.0414)
OKLCHoklch(52.13% 0.105 156.8)
XYZxyz(9.4051, 15.1952, 10.0252)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287B50 #7B2853
analogous
#2A7B28 #287B50 #287B7A
triadic
#287B50 #50287B #7B5028
tetradic
#287B50 #282A7B #7B2853 #7B7A28
square
#287B50 #282A7B #7B2853 #7B7A28
split-complementary
#287B50 #7A287B #7B282A
monochromatic
#0A1F14 #194D32 #287B50 #37A96E #56C88D

Accessibility & contrast

On white

5.20
#287B50 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#287B50 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287B50
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287B50#FFFFFF#000000##FFFFFF
##287B501.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714D
Deuteranopia (green-blind)
#6F6A53
Tritanopia (blue-blind)
#007A70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287b50;
/* rgb */ color: rgb(40, 123, 80);
/* oklch */ color: oklch(52.1% 0.105 156.8);
Tailwind
colors: {
  custom: {
    50: '#6ca281',
    500: '#287b50',
    950: '#000000',
  },
}
SCSS
$custom: #287b50;
$custom-light: #6ca281;
$custom-dark: #000000;
JSON
{
  "hex": "#287b50",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 80
  },
  "hsl": {
    "h": 148.916,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52134,
    "c": 0.10502,
    "h": 156.8
  },
  "luminance": 0.15196
}

Semantic roles & 50–950 ramp

primary
#287B50
secondary
#AD5281
accent
#4D96DA
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #287B50

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

Preview Lab → · Contrast checker → · Palette generator →

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