#287F16#287F16

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

Color values

HEX#287F16
RGBrgb(40, 127, 22)
HSLhsl(110, 70%, 29%)
HSVhsv(110, 83%, 50%)
CMYKcmyk(68.5%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.56, -45.11, 45.30)
CIE-LCHlch(46.56, 63.93, 134.88°)
OKLaboklab(52.45% -0.1235 0.1006)
OKLCHoklch(52.45% 0.159 140.8)
XYZxyz(8.6088, 15.6869, 3.3331)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F16 #6D167F
analogous
#5D7F16 #287F16 #167F39
triadic
#287F16 #16287F #7F1628
tetradic
#287F16 #165D7F #6D167F #7F3916
square
#287F16 #165D7F #6D167F #7F3916
split-complementary
#287F16 #39167F #7F165D
monochromatic
#081A05 #184B0D #287F16 #38B31F #50DC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287F16#FFFFFF#000000##FFFFFF
##287F161.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)
#827300
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#187B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287f16;
/* rgb */ color: rgb(40, 127, 22);
/* oklch */ color: oklch(52.5% 0.159 140.8);
Tailwind
colors: {
  custom: {
    50: '#6fa55d',
    500: '#287f16',
    950: '#000000',
  },
}
SCSS
$custom: #287f16;
$custom-light: #6fa55d;
$custom-dark: #000000;
JSON
{
  "hex": "#287f16",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 109.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52451,
    "c": 0.15928,
    "h": 140.8
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#287F16
secondary
#9F3DB4
accent
#3BEDCF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287F16

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

Preview Lab → · Contrast checker → · Palette generator →

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