#287716#287716

#287716 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.150 H 140.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#287716
RGBrgb(40, 119, 22)
HSLhsl(109, 69%, 28%)
HSVhsv(109, 82%, 47%)
CMYKcmyk(66.4%, 0%, 81.5%, 53.3%)
CIE-LABlab(43.80, -42.21, 42.69)
CIE-LCHlch(43.80, 60.03, 134.68°)
OKLaboklab(50.17% -0.1156 0.0952)
OKLCHoklch(50.17% 0.15 140.5)
XYZxyz(7.6163, 13.7019, 3.0023)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287716 #651677
analogous
#587716 #287716 #167735
triadic
#287716 #162877 #771628
tetradic
#287716 #165877 #651677 #773516
square
#287716 #165877 #651677 #773516
split-complementary
#287716 #351677 #771658
monochromatic
#091A05 #17430C #287716 #39AB20 #4ED92F

Accessibility & contrast

On white

5.61
#287716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#287716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287716
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287716#FFFFFF#000000##FFFFFF
##2877161.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#1B7365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287716;
/* rgb */ color: rgb(40, 119, 22);
/* oklch */ color: oklch(50.2% 0.150 140.5);
Tailwind
colors: {
  custom: {
    50: '#6e9f5c',
    500: '#287716',
    950: '#000000',
  },
}
SCSS
$custom: #287716;
$custom-light: #6e9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#287716",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 108.866,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50166,
    "c": 0.14976,
    "h": 140.5
  },
  "luminance": 0.13703
}

Semantic roles & 50–950 ramp

primary
#287716
secondary
#983CAC
accent
#3CECCB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287716

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

Preview Lab → · Contrast checker → · Palette generator →

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