#287816#287816

#287816 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.151 H 140.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#287816
RGBrgb(40, 120, 22)
HSLhsl(109, 69%, 28%)
HSVhsv(109, 82%, 47%)
CMYKcmyk(66.7%, 0%, 81.7%, 52.9%)
CIE-LABlab(44.15, -42.58, 43.02)
CIE-LCHlch(44.15, 60.52, 134.70°)
OKLaboklab(50.45% -0.1166 0.0959)
OKLCHoklch(50.45% 0.151 140.6)
XYZxyz(7.7360, 13.9412, 3.0421)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287816 #661678
analogous
#597816 #287816 #167835
triadic
#287816 #162878 #781628
tetradic
#287816 #165978 #661678 #783516
square
#287816 #165978 #661678 #783516
split-complementary
#287816 #351678 #781659
monochromatic
#091A05 #17440D #287816 #39AC1F #4FD92F

Accessibility & contrast

On white

5.54
#287816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#287816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287816
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287816#FFFFFF#000000##FFFFFF
##2878161.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#1B7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287816;
/* rgb */ color: rgb(40, 120, 22);
/* oklch */ color: oklch(50.5% 0.151 140.6);
Tailwind
colors: {
  custom: {
    50: '#6ea05c',
    500: '#287816',
    950: '#000000',
  },
}
SCSS
$custom: #287816;
$custom-light: #6ea05c;
$custom-dark: #000000;
JSON
{
  "hex": "#287816",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 108.98,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50452,
    "c": 0.15098,
    "h": 140.6
  },
  "luminance": 0.13942
}

Semantic roles & 50–950 ramp

primary
#287816
secondary
#993CAD
accent
#3CECCC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F04
muted
#7B7E79

Preview Lab

Preview with #287816

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

Preview Lab → · Contrast checker → · Palette generator →

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