#287C27#287C27

#287C27 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.7% C 0.145 H 143.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#287C27
RGBrgb(40, 124, 39)
HSLhsl(119, 52%, 32%)
HSVhsv(119, 69%, 49%)
CMYKcmyk(67.7%, 0%, 68.5%, 51.4%)
CIE-LABlab(45.65, -42.59, 37.81)
CIE-LCHlch(45.65, 56.95, 138.40°)
OKLaboklab(51.74% -0.1157 0.0873)
OKLCHoklch(51.74% 0.145 143)
XYZxyz(8.4484, 15.0120, 4.3714)
Luminance0.1501 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C27 #7B277C
analogous
#537C27 #287C27 #277C51
triadic
#287C27 #27287C #7C2728
tetradic
#287C27 #27537C #7B277C #7C5127
square
#287C27 #27537C #7B277C #7C5127
split-complementary
#287C27 #51277C #7C2753
monochromatic
#0A1F0A #194D18 #287C27 #37AB36 #56C954

Accessibility & contrast

On white

5.25
#287C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#287C27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C27
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C27#FFFFFF#000000##FFFFFF
##287C271.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701C
Deuteranopia (green-blind)
#75692F
Tritanopia (blue-blind)
#15786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #287c27;
/* rgb */ color: rgb(40, 124, 39);
/* oklch */ color: oklch(51.7% 0.145 143.0);
Tailwind
colors: {
  custom: {
    50: '#6ea365',
    500: '#287c27',
    950: '#000000',
  },
}
SCSS
$custom: #287c27;
$custom-light: #6ea365;
$custom-dark: #000000;
JSON
{
  "hex": "#287c27",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 39
  },
  "hsl": {
    "h": 119.294,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51736,
    "c": 0.14497,
    "h": 143
  },
  "luminance": 0.15013
}

Semantic roles & 50–950 ramp

primary
#287C27
secondary
#AD51AE
accent
#4CDCDA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #287C27

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

Preview Lab → · Contrast checker → · Palette generator →

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