#287416#287416

#287416 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.146 H 140.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#287416
RGBrgb(40, 116, 22)
HSLhsl(109, 68%, 27%)
HSVhsv(109, 81%, 45%)
CMYKcmyk(65.5%, 0%, 81%, 54.5%)
CIE-LABlab(42.76, -41.09, 41.69)
CIE-LCHlch(42.76, 58.53, 134.59°)
OKLaboklab(49.3% -0.1126 0.0931)
OKLCHoklch(49.3% 0.146 140.4)
XYZxyz(7.2649, 12.9991, 2.8851)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287416 #621674
analogous
#577416 #287416 #167433
triadic
#287416 #162874 #741628
tetradic
#287416 #165774 #621674 #743316
square
#287416 #165774 #621674 #743316
split-complementary
#287416 #331674 #741657
monochromatic
#091A05 #16410C #287416 #3AA720 #4ED72D

Accessibility & contrast

On white

5.83
#287416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#287416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287416
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287416#FFFFFF#000000##FFFFFF
##2874161.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#1C7062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287416;
/* rgb */ color: rgb(40, 116, 22);
/* oklch */ color: oklch(49.3% 0.146 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d9d5b',
    500: '#287416',
    950: '#000000',
  },
}
SCSS
$custom: #287416;
$custom-light: #6d9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287416",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 108.511,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49304,
    "c": 0.14613,
    "h": 140.4
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#287416
secondary
#953CAA
accent
#3DEBCA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287416

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

Preview Lab → · Contrast checker → · Palette generator →

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