#287516#287516

#287516 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.147 H 140.5°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#287516
RGBrgb(40, 117, 22)
HSLhsl(109, 68%, 27%)
HSVhsv(109, 81%, 46%)
CMYKcmyk(65.8%, 0%, 81.2%, 54.1%)
CIE-LABlab(43.11, -41.46, 42.02)
CIE-LCHlch(43.11, 59.03, 134.62°)
OKLaboklab(49.59% -0.1136 0.0938)
OKLCHoklch(49.59% 0.147 140.5)
XYZxyz(7.3808, 13.2309, 2.9238)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287516 #631675
analogous
#577516 #287516 #167534
triadic
#287516 #162875 #751628
tetradic
#287516 #165775 #631675 #753416
square
#287516 #165775 #631675 #753416
split-complementary
#287516 #341675 #751657
monochromatic
#091A05 #16410C #287516 #3AA920 #4ED82E

Accessibility & contrast

On white

5.76
#287516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#287516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287516
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287516#FFFFFF#000000##FFFFFF
##2875161.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#1C7163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287516;
/* rgb */ color: rgb(40, 117, 22);
/* oklch */ color: oklch(49.6% 0.147 140.5);
Tailwind
colors: {
  custom: {
    50: '#6d9e5c',
    500: '#287516',
    950: '#000000',
  },
}
SCSS
$custom: #287516;
$custom-light: #6d9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#287516",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 108.632,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49592,
    "c": 0.14734,
    "h": 140.5
  },
  "luminance": 0.13232
}

Semantic roles & 50–950 ramp

primary
#287516
secondary
#963CAB
accent
#3DEBCA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287516

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

Preview Lab → · Contrast checker → · Palette generator →

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