#287140#287140

#287140 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.106 H 151.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#287140
RGBrgb(40, 113, 64)
HSLhsl(140, 48%, 30%)
HSVhsv(140, 65%, 44%)
CMYKcmyk(64.6%, 0%, 43.4%, 55.7%)
CIE-LABlab(42.20, -34.47, 20.68)
CIE-LCHlch(42.20, 40.20, 149.04°)
OKLaboklab(49% -0.0932 0.0512)
OKLCHoklch(49% 0.106 151.2)
XYZxyz(7.7050, 12.6308, 6.8814)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287140 #712859
analogous
#357128 #287140 #287164
triadic
#287140 #402871 #714028
tetradic
#287140 #283571 #712859 #716428
square
#287140 #283571 #712859 #716428
split-complementary
#287140 #642871 #712835
monochromatic
#08170D #184426 #287140 #389E5A #52C277

Accessibility & contrast

On white

5.96
#287140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#287140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287140
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287140#FFFFFF#000000##FFFFFF
##2871401.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71683C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#0F6F65
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287140;
/* rgb */ color: rgb(40, 113, 64);
/* oklch */ color: oklch(49.0% 0.106 151.2);
Tailwind
colors: {
  custom: {
    50: '#6a9a75',
    500: '#287140',
    950: '#000000',
  },
}
SCSS
$custom: #287140;
$custom-light: #6a9a75;
$custom-dark: #000000;
JSON
{
  "hex": "#287140",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 64
  },
  "hsl": {
    "h": 139.726,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.48996,
    "c": 0.10633,
    "h": 151.2
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#287140
secondary
#A35288
accent
#50ABD7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #287140

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

Preview Lab → · Contrast checker → · Palette generator →

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