#287546#287546

#287546 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.2% C 0.106 H 153.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#287546
RGBrgb(40, 117, 70)
HSLhsl(143, 49%, 31%)
HSVhsv(143, 66%, 46%)
CMYKcmyk(65.8%, 0%, 40.2%, 54.1%)
CIE-LABlab(43.68, -35.03, 19.19)
CIE-LCHlch(43.68, 39.94, 151.29°)
OKLaboklab(50.24% -0.0948 0.0479)
OKLCHoklch(50.24% 0.106 153.2)
XYZxyz(8.3412, 13.6150, 7.9815)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287546 #752857
analogous
#307528 #287546 #28756C
triadic
#287546 #462875 #754628
tetradic
#287546 #283075 #752857 #756C28
square
#287546 #283075 #752857 #756C28
split-complementary
#287546 #6C2875 #752830
monochromatic
#091A0F #18472B #287546 #38A361 #53C47F

Accessibility & contrast

On white

5.64
#287546 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#287546 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287546
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287546#FFFFFF#000000##FFFFFF
##2875461.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B43
Deuteranopia (green-blind)
#6B6449
Tritanopia (blue-blind)
#077369
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287546;
/* rgb */ color: rgb(40, 117, 70);
/* oklch */ color: oklch(50.2% 0.106 153.2);
Tailwind
colors: {
  custom: {
    50: '#6b9d7a',
    500: '#287546',
    950: '#000000',
  },
}
SCSS
$custom: #287546;
$custom-light: #6b9d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#287546",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 70
  },
  "hsl": {
    "h": 143.377,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50243,
    "c": 0.10617,
    "h": 153.2
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#287546
secondary
#A75286
accent
#4FA3D9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287546

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

Preview Lab → · Contrast checker → · Palette generator →

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