#287147#287147

#287147 is a mid, moderate green. Relative luminance 0.127; OKLCH L 49.1% C 0.099 H 154.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#287147
RGBrgb(40, 113, 71)
HSLhsl(145, 48%, 30%)
HSVhsv(145, 65%, 44%)
CMYKcmyk(64.6%, 0%, 37.2%, 55.7%)
CIE-LABlab(42.33, -33.07, 16.81)
CIE-LCHlch(42.33, 37.10, 153.05°)
OKLaboklab(49.15% -0.0897 0.0422)
OKLCHoklch(49.15% 0.099 154.8)
XYZxyz(7.9169, 12.7155, 7.9971)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287147 #712852
analogous
#2E7128 #287147 #28716B
triadic
#287147 #472871 #714728
tetradic
#287147 #282E71 #712852 #716B28
square
#287147 #282E71 #712852 #716B28
split-complementary
#287147 #6B2871 #71282E
monochromatic
#08170E #18442B #287147 #389E63 #52C281

Accessibility & contrast

On white

5.93
#287147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#287147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287147
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287147#FFFFFF#000000##FFFFFF
##2871471.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716844
Deuteranopia (green-blind)
#67614A
Tritanopia (blue-blind)
#097066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287147;
/* rgb */ color: rgb(40, 113, 71);
/* oklch */ color: oklch(49.1% 0.099 154.8);
Tailwind
colors: {
  custom: {
    50: '#6a9a7a',
    500: '#287147',
    950: '#000000',
  },
}
SCSS
$custom: #287147;
$custom-light: #6a9a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#287147",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 71
  },
  "hsl": {
    "h": 145.479,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.09912,
    "h": 154.8
  },
  "luminance": 0.12716
}

Semantic roles & 50–950 ramp

primary
#287147
secondary
#A35281
accent
#509ED7
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287147

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

Preview Lab → · Contrast checker → · Palette generator →

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