#287C46#287C46

#287C46 is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.2% C 0.117 H 151.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#287C46
RGBrgb(40, 124, 70)
HSLhsl(141, 51%, 32%)
HSVhsv(141, 68%, 49%)
CMYKcmyk(67.7%, 0%, 43.5%, 51.4%)
CIE-LABlab(46.05, -38.00, 22.31)
CIE-LCHlch(46.05, 44.07, 149.58°)
OKLaboklab(52.2% -0.1026 0.0552)
OKLCHoklch(52.2% 0.117 151.7)
XYZxyz(9.1875, 15.3077, 8.2637)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C46 #7C285E
analogous
#347C28 #287C46 #287C70
triadic
#287C46 #46287C #7C4628
tetradic
#287C46 #28347C #7C285E #7C7028
square
#287C46 #28347C #7C285E #7C7028
split-complementary
#287C46 #70287C #7C2834
monochromatic
#0A1F12 #194E2C #287C46 #37AA60 #56C87F

Accessibility & contrast

On white

5.17
#287C46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#287C46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C46
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C46#FFFFFF#000000##FFFFFF
##287C461.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7242
Deuteranopia (green-blind)
#726A4A
Tritanopia (blue-blind)
#017A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c46;
/* rgb */ color: rgb(40, 124, 70);
/* oklch */ color: oklch(52.2% 0.117 151.7);
Tailwind
colors: {
  custom: {
    50: '#6da37a',
    500: '#287c46',
    950: '#000000',
  },
}
SCSS
$custom: #287c46;
$custom-light: #6da37a;
$custom-dark: #000000;
JSON
{
  "hex": "#287c46",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 70
  },
  "hsl": {
    "h": 141.429,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.1165,
    "h": 151.7
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#287C46
secondary
#AD528D
accent
#4DA8DB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #287C46

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

Preview Lab → · Contrast checker → · Palette generator →

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