#287C40#287C40

#287C40 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.123 H 149.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#287C40
RGBrgb(40, 124, 64)
HSLhsl(137, 51%, 32%)
HSVhsv(137, 68%, 49%)
CMYKcmyk(67.7%, 0%, 48.4%, 51.4%)
CIE-LABlab(45.96, -39.09, 25.51)
CIE-LCHlch(45.96, 46.68, 146.87°)
OKLaboklab(52.09% -0.1054 0.0624)
OKLCHoklch(52.09% 0.123 149.4)
XYZxyz(9.0075, 15.2356, 7.3156)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C40 #7C2864
analogous
#3A7C28 #287C40 #287C6A
triadic
#287C40 #40287C #7C4028
tetradic
#287C40 #283A7C #7C2864 #7C6A28
square
#287C40 #283A7C #7C2864 #7C6A28
split-complementary
#287C40 #6A287C #7C283A
monochromatic
#0A1F10 #194E28 #287C40 #37AA58 #56C877

Accessibility & contrast

On white

5.19
#287C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#287C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C40
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C40#FFFFFF#000000##FFFFFF
##287C401.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713B
Deuteranopia (green-blind)
#726A44
Tritanopia (blue-blind)
#077A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c40;
/* rgb */ color: rgb(40, 124, 64);
/* oklch */ color: oklch(52.1% 0.123 149.4);
Tailwind
colors: {
  custom: {
    50: '#6da376',
    500: '#287c40',
    950: '#000000',
  },
}
SCSS
$custom: #287c40;
$custom-light: #6da376;
$custom-dark: #000000;
JSON
{
  "hex": "#287c40",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 137.143,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.12251,
    "h": 149.4
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#287C40
secondary
#AD5293
accent
#4DB2DB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287C40

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

Preview Lab → · Contrast checker → · Palette generator →

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