#287D14#287D14

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

Color values

HEX#287D14
RGBrgb(40, 125, 20)
HSLhsl(109, 72%, 28%)
HSVhsv(109, 84%, 49%)
CMYKcmyk(68%, 0%, 84%, 51%)
CIE-LABlab(45.86, -44.52, 45.26)
CIE-LCHlch(45.86, 63.49, 134.52°)
OKLaboklab(51.87% -0.122 0.1003)
OKLCHoklch(51.87% 0.158 140.6)
XYZxyz(8.3345, 15.1680, 3.1502)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D14 #69147D
analogous
#5C7D14 #287D14 #147D34
triadic
#287D14 #14287D #7D1428
tetradic
#287D14 #145C7D #69147D #7D3414
square
#287D14 #145C7D #69147D #7D3414
split-complementary
#287D14 #34147D #7D145C
monochromatic
#081A04 #17480C #287D14 #39B21C #4FDE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287D14#FFFFFF#000000##FFFFFF
##287D141.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)
#807100
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#19796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d14;
/* rgb */ color: rgb(40, 125, 20);
/* oklch */ color: oklch(51.9% 0.158 140.6);
Tailwind
colors: {
  custom: {
    50: '#6fa35c',
    500: '#287d14',
    950: '#000000',
  },
}
SCSS
$custom: #287d14;
$custom-light: #6fa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#287d14",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 108.571,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5187,
    "c": 0.15789,
    "h": 140.6
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#287D14
secondary
#9C3AB2
accent
#39EFCC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #287D14

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

Preview Lab → · Contrast checker → · Palette generator →

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