#287116#287116

#287116 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.142 H 140.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#287116
RGBrgb(40, 113, 22)
HSLhsl(108, 67%, 26%)
HSVhsv(108, 81%, 44%)
CMYKcmyk(64.6%, 0%, 80.5%, 55.7%)
CIE-LABlab(41.72, -39.96, 40.68)
CIE-LCHlch(41.72, 57.02, 134.49°)
OKLaboklab(48.44% -0.1096 0.091)
OKLCHoklch(48.44% 0.142 140.3)
XYZxyz(6.9247, 12.3186, 2.7717)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287116 #5F1671
analogous
#567116 #287116 #167132
triadic
#287116 #162871 #711628
tetradic
#287116 #165671 #5F1671 #713216
square
#287116 #165671 #5F1671 #713216
split-complementary
#287116 #321671 #711656
monochromatic
#091A05 #163E0C #287116 #3AA420 #4DD62C

Accessibility & contrast

On white

6.06
#287116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#287116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287116
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287116#FFFFFF#000000##FFFFFF
##2871161.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746601
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#1D6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #287116;
/* rgb */ color: rgb(40, 113, 22);
/* oklch */ color: oklch(48.4% 0.142 140.3);
Tailwind
colors: {
  custom: {
    50: '#6c9b5b',
    500: '#287116',
    950: '#000000',
  },
}
SCSS
$custom: #287116;
$custom-light: #6c9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287116",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 108.132,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4844,
    "c": 0.14243,
    "h": 140.3
  },
  "luminance": 0.12319
}

Semantic roles & 50–950 ramp

primary
#287116
secondary
#923CA7
accent
#3EEAC8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287116

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

Preview Lab → · Contrast checker → · Palette generator →

#287116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva