#287C3A#287C3A

#287C3A is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.128 H 147.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#287C3A
RGBrgb(40, 124, 58)
HSLhsl(133, 51%, 32%)
HSVhsv(133, 68%, 49%)
CMYKcmyk(67.7%, 0%, 53.2%, 51.4%)
CIE-LABlab(45.87, -40.08, 28.65)
CIE-LCHlch(45.87, 49.27, 144.45°)
OKLaboklab(51.99% -0.1082 0.0692)
OKLCHoklch(51.99% 0.128 147.4)
XYZxyz(8.8458, 15.1710, 6.4643)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C3A #7C286A
analogous
#407C28 #287C3A #287C64
triadic
#287C3A #3A287C #7C3A28
tetradic
#287C3A #28407C #7C286A #7C6428
square
#287C3A #28407C #7C286A #7C6428
split-complementary
#287C3A #64287C #7C2840
monochromatic
#0A1F0F #194E24 #287C3A #37AA50 #56C86E

Accessibility & contrast

On white

5.21
#287C3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#287C3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C3A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C3A#FFFFFF#000000##FFFFFF
##287C3A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7134
Deuteranopia (green-blind)
#736A3F
Tritanopia (blue-blind)
#0C796D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c3a;
/* rgb */ color: rgb(40, 124, 58);
/* oklch */ color: oklch(52.0% 0.128 147.4);
Tailwind
colors: {
  custom: {
    50: '#6da372',
    500: '#287c3a',
    950: '#000000',
  },
}
SCSS
$custom: #287c3a;
$custom-light: #6da372;
$custom-dark: #000000;
JSON
{
  "hex": "#287c3a",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 58
  },
  "hsl": {
    "h": 132.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.12838,
    "h": 147.4
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#287C3A
secondary
#AD529A
accent
#4DBCDB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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