#287549#287549

#287549 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.3% C 0.103 H 154.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#287549
RGBrgb(40, 117, 73)
HSLhsl(146, 49%, 31%)
HSVhsv(146, 66%, 46%)
CMYKcmyk(65.8%, 0%, 37.6%, 54.1%)
CIE-LABlab(43.73, -34.41, 17.53)
CIE-LCHlch(43.73, 38.62, 153.00°)
OKLaboklab(50.31% -0.0933 0.044)
OKLCHoklch(50.31% 0.103 154.8)
XYZxyz(8.4382, 13.6539, 8.4928)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287549 #752854
analogous
#2D7528 #287549 #28756F
triadic
#287549 #492875 #754928
tetradic
#287549 #282D75 #752854 #756F28
square
#287549 #282D75 #752854 #756F28
split-complementary
#287549 #6F2875 #75282D
monochromatic
#091A10 #18472D #287549 #38A365 #53C484

Accessibility & contrast

On white

5.63
#287549 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#287549 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287549
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287549#FFFFFF#000000##FFFFFF
##2875491.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756C46
Deuteranopia (green-blind)
#6B644C
Tritanopia (blue-blind)
#04746A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287549;
/* rgb */ color: rgb(40, 117, 73);
/* oklch */ color: oklch(50.3% 0.103 154.8);
Tailwind
colors: {
  custom: {
    50: '#6b9d7c',
    500: '#287549',
    950: '#000000',
  },
}
SCSS
$custom: #287549;
$custom-light: #6b9d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#287549",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 73
  },
  "hsl": {
    "h": 145.714,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50308,
    "c": 0.10311,
    "h": 154.8
  },
  "luminance": 0.13655
}

Semantic roles & 50–950 ramp

primary
#287549
secondary
#A75283
accent
#4F9ED9
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287549

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

Preview Lab → · Contrast checker → · Palette generator →

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