#287C39#287C39

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

Color values

HEX#287C39
RGBrgb(40, 124, 57)
HSLhsl(132, 51%, 32%)
HSVhsv(132, 68%, 49%)
CMYKcmyk(67.7%, 0%, 54%, 51.4%)
CIE-LABlab(45.85, -40.24, 29.16)
CIE-LCHlch(45.85, 49.69, 144.07°)
OKLaboklab(51.97% -0.1086 0.0702)
OKLCHoklch(51.97% 0.129 147.1)
XYZxyz(8.8206, 15.1609, 6.3316)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C39 #7C286B
analogous
#417C28 #287C39 #287C63
triadic
#287C39 #39287C #7C3928
tetradic
#287C39 #28417C #7C286B #7C6328
square
#287C39 #28417C #7C286B #7C6328
split-complementary
#287C39 #63287C #7C2841
monochromatic
#0A1F0E #194E24 #287C39 #37AA4E #56C86D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287C39#FFFFFF#000000##FFFFFF
##287C391.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)
#7E7133
Deuteranopia (green-blind)
#736A3E
Tritanopia (blue-blind)
#0D796D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c39;
/* rgb */ color: rgb(40, 124, 57);
/* oklch */ color: oklch(52.0% 0.129 147.1);
Tailwind
colors: {
  custom: {
    50: '#6da371',
    500: '#287c39',
    950: '#000000',
  },
}
SCSS
$custom: #287c39;
$custom-light: #6da371;
$custom-dark: #000000;
JSON
{
  "hex": "#287c39",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 57
  },
  "hsl": {
    "h": 132.143,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51969,
    "c": 0.12934,
    "h": 147.1
  },
  "luminance": 0.15162
}

Semantic roles & 50–950 ramp

primary
#287C39
secondary
#AD529B
accent
#4DBEDB
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287C39

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

Preview Lab → · Contrast checker → · Palette generator →

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