#287545#287545

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

Color values

HEX#287545
RGBrgb(40, 117, 69)
HSLhsl(143, 49%, 31%)
HSVhsv(143, 66%, 46%)
CMYKcmyk(65.8%, 0%, 41%, 54.1%)
CIE-LABlab(43.66, -35.23, 19.74)
CIE-LCHlch(43.66, 40.38, 150.74°)
OKLaboklab(50.22% -0.0953 0.0491)
OKLCHoklch(50.22% 0.107 152.7)
XYZxyz(8.3099, 13.6025, 7.8167)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287545 #752858
analogous
#317528 #287545 #28756B
triadic
#287545 #452875 #754528
tetradic
#287545 #283175 #752858 #756B28
square
#287545 #283175 #752858 #756B28
split-complementary
#287545 #6B2875 #752831
monochromatic
#091A0F #18472A #287545 #38A360 #53C47E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287545#FFFFFF#000000##FFFFFF
##2875451.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)
#756B42
Deuteranopia (green-blind)
#6B6448
Tritanopia (blue-blind)
#087369
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287545;
/* rgb */ color: rgb(40, 117, 69);
/* oklch */ color: oklch(50.2% 0.107 152.7);
Tailwind
colors: {
  custom: {
    50: '#6b9d79',
    500: '#287545',
    950: '#000000',
  },
}
SCSS
$custom: #287545;
$custom-light: #6b9d79;
$custom-dark: #000000;
JSON
{
  "hex": "#287545",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 69
  },
  "hsl": {
    "h": 142.597,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50222,
    "c": 0.10719,
    "h": 152.7
  },
  "luminance": 0.13603
}

Semantic roles & 50–950 ramp

primary
#287545
secondary
#A75287
accent
#4FA5D9
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287545

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

Preview Lab → · Contrast checker → · Palette generator →

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