#287F14#287F14

#287F14 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.160 H 140.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#287F14
RGBrgb(40, 127, 20)
HSLhsl(109, 73%, 29%)
HSVhsv(109, 84%, 50%)
CMYKcmyk(68.5%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.55, -45.23, 45.90)
CIE-LCHlch(46.55, 64.44, 134.58°)
OKLaboklab(52.44% -0.1239 0.1016)
OKLCHoklch(52.44% 0.16 140.6)
XYZxyz(8.5903, 15.6795, 3.2354)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F14 #6B147F
analogous
#5E7F14 #287F14 #147F36
triadic
#287F14 #14287F #7F1428
tetradic
#287F14 #145E7F #6B147F #7F3614
square
#287F14 #145E7F #6B147F #7F3614
split-complementary
#287F14 #36147F #7F145E
monochromatic
#081A04 #174A0C #287F14 #39B41C #50DE2F

Accessibility & contrast

On white

5.08
#287F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#287F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F14
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F14#FFFFFF#000000##FFFFFF
##287F141.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#187B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287f14;
/* rgb */ color: rgb(40, 127, 20);
/* oklch */ color: oklch(52.4% 0.160 140.6);
Tailwind
colors: {
  custom: {
    50: '#70a55c',
    500: '#287f14',
    950: '#000000',
  },
}
SCSS
$custom: #287f14;
$custom-light: #70a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#287f14",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 108.785,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.16021,
    "h": 140.6
  },
  "luminance": 0.1568
}

Semantic roles & 50–950 ramp

primary
#287F14
secondary
#9D3BB4
accent
#38EFCD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #287F14

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

Preview Lab → · Contrast checker → · Palette generator →

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