#287247#287247

#287247 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.101 H 154.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#287247
RGBrgb(40, 114, 71)
HSLhsl(145, 48%, 30%)
HSVhsv(145, 65%, 45%)
CMYKcmyk(64.9%, 0%, 37.7%, 55.3%)
CIE-LABlab(42.67, -33.51, 17.27)
CIE-LCHlch(42.67, 37.70, 152.73°)
OKLaboklab(49.43% -0.0908 0.0433)
OKLCHoklch(49.43% 0.101 154.5)
XYZxyz(8.0290, 12.9399, 8.0345)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287247 #722853
analogous
#2E7228 #287247 #28726C
triadic
#287247 #472872 #724728
tetradic
#287247 #282E72 #722853 #726C28
square
#287247 #282E72 #722853 #726C28
split-complementary
#287247 #6C2872 #72282E
monochromatic
#08170F #18452B #287247 #389F63 #52C281

Accessibility & contrast

On white

5.85
#287247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#287247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287247
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287247#FFFFFF#000000##FFFFFF
##2872471.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726944
Deuteranopia (green-blind)
#68624A
Tritanopia (blue-blind)
#087167
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287247;
/* rgb */ color: rgb(40, 114, 71);
/* oklch */ color: oklch(49.4% 0.101 154.5);
Tailwind
colors: {
  custom: {
    50: '#6b9b7a',
    500: '#287247',
    950: '#000000',
  },
}
SCSS
$custom: #287247;
$custom-light: #6b9b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#287247",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 71
  },
  "hsl": {
    "h": 145.135,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49425,
    "c": 0.10064,
    "h": 154.5
  },
  "luminance": 0.12941
}

Semantic roles & 50–950 ramp

primary
#287247
secondary
#A45282
accent
#509FD8
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #287247

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

Preview Lab → · Contrast checker → · Palette generator →

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