#287D46#287D46

#287D46 is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.5% C 0.118 H 151.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#287D46
RGBrgb(40, 125, 70)
HSLhsl(141, 52%, 32%)
HSVhsv(141, 68%, 49%)
CMYKcmyk(68%, 0%, 44%, 51%)
CIE-LABlab(46.39, -38.42, 22.75)
CIE-LCHlch(46.39, 44.65, 149.37°)
OKLaboklab(52.48% -0.1037 0.0562)
OKLCHoklch(52.48% 0.118 151.5)
XYZxyz(9.3134, 15.5596, 8.3056)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D46 #7D285F
analogous
#357D28 #287D46 #287D70
triadic
#287D46 #46287D #7D4628
tetradic
#287D46 #28357D #7D285F #7D7028
square
#287D46 #28357D #7D285F #7D7028
split-complementary
#287D46 #70287D #7D2835
monochromatic
#0A2012 #194F2C #287D46 #37AB60 #56C97F

Accessibility & contrast

On white

5.11
#287D46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#287D46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D46
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D46#FFFFFF#000000##FFFFFF
##287D461.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7242
Deuteranopia (green-blind)
#736B4A
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287d46;
/* rgb */ color: rgb(40, 125, 70);
/* oklch */ color: oklch(52.5% 0.118 151.5);
Tailwind
colors: {
  custom: {
    50: '#6da37a',
    500: '#287d46',
    950: '#000000',
  },
}
SCSS
$custom: #287d46;
$custom-light: #6da37a;
$custom-dark: #000000;
JSON
{
  "hex": "#287d46",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 70
  },
  "hsl": {
    "h": 141.176,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52477,
    "c": 0.11794,
    "h": 151.5
  },
  "luminance": 0.15561
}

Semantic roles & 50–950 ramp

primary
#287D46
secondary
#AE538E
accent
#4DA9DB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #287D46

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

Preview Lab → · Contrast checker → · Palette generator →

#287D46 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva