#287E27#287E27

#287E27 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.148 H 142.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#287E27
RGBrgb(40, 126, 39)
HSLhsl(119, 53%, 32%)
HSVhsv(119, 69%, 49%)
CMYKcmyk(68.3%, 0%, 69%, 50.6%)
CIE-LABlab(46.34, -43.34, 38.56)
CIE-LCHlch(46.34, 58.01, 138.34°)
OKLaboklab(52.3% -0.1177 0.0889)
OKLCHoklch(52.3% 0.148 142.9)
XYZxyz(8.7016, 15.5184, 4.4558)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E27 #7D277E
analogous
#547E27 #287E27 #277E51
triadic
#287E27 #27287E #7E2728
tetradic
#287E27 #27547E #7D277E #7E5127
square
#287E27 #27547E #7D277E #7E5127
split-complementary
#287E27 #51277E #7E2754
monochromatic
#0A210A #194F19 #287E27 #37AD35 #56CA55

Accessibility & contrast

On white

5.12
#287E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#287E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E27
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E27#FFFFFF#000000##FFFFFF
##287E271.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81721B
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#147A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287e27;
/* rgb */ color: rgb(40, 126, 39);
/* oklch */ color: oklch(52.3% 0.148 142.9);
Tailwind
colors: {
  custom: {
    50: '#6ea466',
    500: '#287e27',
    950: '#000000',
  },
}
SCSS
$custom: #287e27;
$custom-light: #6ea466;
$custom-dark: #000000;
JSON
{
  "hex": "#287e27",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 39
  },
  "hsl": {
    "h": 119.31,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52303,
    "c": 0.14754,
    "h": 142.9
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #287E27

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

Preview Lab → · Contrast checker → · Palette generator →

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