#287D16#287D16

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

Color values

HEX#287D16
RGBrgb(40, 125, 22)
HSLhsl(110, 70%, 29%)
HSVhsv(110, 82%, 49%)
CMYKcmyk(68%, 0%, 82.4%, 51%)
CIE-LABlab(45.87, -44.40, 44.65)
CIE-LCHlch(45.87, 62.97, 134.83°)
OKLaboklab(51.88% -0.1215 0.0993)
OKLCHoklch(51.88% 0.157 140.8)
XYZxyz(8.3531, 15.1754, 3.2478)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D16 #6B167D
analogous
#5C7D16 #287D16 #167D38
triadic
#287D16 #16287D #7D1628
tetradic
#287D16 #165C7D #6B167D #7D3816
square
#287D16 #165C7D #6B167D #7D3816
split-complementary
#287D16 #38167D #7D165C
monochromatic
#081A05 #17490D #287D16 #39B11F #50DB32

Accessibility & contrast

On white

5.20
#287D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#287D16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D16
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D16#FFFFFF#000000##FFFFFF
##287D161.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#19796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d16;
/* rgb */ color: rgb(40, 125, 22);
/* oklch */ color: oklch(51.9% 0.157 140.8);
Tailwind
colors: {
  custom: {
    50: '#6fa35d',
    500: '#287d16',
    950: '#000000',
  },
}
SCSS
$custom: #287d16;
$custom-light: #6fa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#287d16",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 109.515,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.15693,
    "h": 140.8
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#287D16
secondary
#9D3DB2
accent
#3BEDCE
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287D16

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

Preview Lab → · Contrast checker → · Palette generator →

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