#287541#287541

#287541 is a mid, moderate green. Relative luminance 0.136; OKLCH L 50.1% C 0.111 H 150.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#287541
RGBrgb(40, 117, 65)
HSLhsl(139, 49%, 31%)
HSVhsv(139, 66%, 46%)
CMYKcmyk(65.8%, 0%, 44.4%, 54.1%)
CIE-LABlab(43.59, -36.00, 21.92)
CIE-LCHlch(43.59, 42.15, 148.66°)
OKLaboklab(50.14% -0.0972 0.0541)
OKLCHoklch(50.14% 0.111 150.9)
XYZxyz(8.1899, 13.5545, 7.1847)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287541 #75285C
analogous
#357528 #287541 #287567
triadic
#287541 #412875 #754128
tetradic
#287541 #283575 #75285C #756728
square
#287541 #283575 #75285C #756728
split-complementary
#287541 #672875 #752835
monochromatic
#091A0E #184728 #287541 #38A35A #53C478

Accessibility & contrast

On white

5.66
#287541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#287541 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287541
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287541#FFFFFF#000000##FFFFFF
##2875411.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766B3D
Deuteranopia (green-blind)
#6C6444
Tritanopia (blue-blind)
#0C7368
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287541;
/* rgb */ color: rgb(40, 117, 65);
/* oklch */ color: oklch(50.1% 0.111 150.9);
Tailwind
colors: {
  custom: {
    50: '#6b9d76',
    500: '#287541',
    950: '#000000',
  },
}
SCSS
$custom: #287541;
$custom-light: #6b9d76;
$custom-dark: #000000;
JSON
{
  "hex": "#287541",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 65
  },
  "hsl": {
    "h": 139.481,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.11128,
    "h": 150.9
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#287541
secondary
#A7528B
accent
#4FACD9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #287541

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

Preview Lab → · Contrast checker → · Palette generator →

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