#287316#287316

#287316 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.145 H 140.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#287316
RGBrgb(40, 115, 22)
HSLhsl(108, 68%, 27%)
HSVhsv(108, 81%, 45%)
CMYKcmyk(65.2%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.41, -40.71, 41.35)
CIE-LCHlch(42.41, 58.03, 134.55°)
OKLaboklab(49.02% -0.1116 0.0924)
OKLCHoklch(49.02% 0.145 140.4)
XYZxyz(7.1503, 12.7698, 2.8469)
Luminance0.1277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287316 #611673
analogous
#577316 #287316 #167333
triadic
#287316 #162873 #731628
tetradic
#287316 #165773 #611673 #733316
square
#287316 #165773 #611673 #733316
split-complementary
#287316 #331673 #731657
monochromatic
#091A05 #16400C #287316 #3AA620 #4ED72D

Accessibility & contrast

On white

5.91
#287316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#287316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287316
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287316#FFFFFF#000000##FFFFFF
##2873161.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D6221
Tritanopia (blue-blind)
#1D6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #287316;
/* rgb */ color: rgb(40, 115, 22);
/* oklch */ color: oklch(49.0% 0.145 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d9c5b',
    500: '#287316',
    950: '#000000',
  },
}
SCSS
$custom: #287316;
$custom-light: #6d9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287316",
  "rgb": {
    "r": 40,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 108.387,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.14489,
    "h": 140.4
  },
  "luminance": 0.12771
}

Semantic roles & 50–950 ramp

primary
#287316
secondary
#943CA9
accent
#3DEBC9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287316

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

Preview Lab → · Contrast checker → · Palette generator →

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