#287717#287717

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

Color values

HEX#287717
RGBrgb(40, 119, 23)
HSLhsl(109, 68%, 28%)
HSVhsv(109, 81%, 47%)
CMYKcmyk(66.4%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.81, -42.14, 42.35)
CIE-LCHlch(43.81, 59.74, 134.86°)
OKLaboklab(50.17% -0.1154 0.0946)
OKLCHoklch(50.17% 0.149 140.6)
XYZxyz(7.6262, 13.7059, 3.0541)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287717 #661777
analogous
#587717 #287717 #177736
triadic
#287717 #172877 #771728
tetradic
#287717 #175877 #661777 #773617
square
#287717 #175877 #661777 #773617
split-complementary
#287717 #361777 #771758
monochromatic
#091A05 #17440D #287717 #39AA21 #4FD731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287717#FFFFFF#000000##FFFFFF
##2877171.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)
#716522
Tritanopia (blue-blind)
#1B7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287717;
/* rgb */ color: rgb(40, 119, 23);
/* oklch */ color: oklch(50.2% 0.149 140.6);
Tailwind
colors: {
  custom: {
    50: '#6e9f5c',
    500: '#287717',
    950: '#000000',
  },
}
SCSS
$custom: #287717;
$custom-light: #6e9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#287717",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 109.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.14924,
    "h": 140.6
  },
  "luminance": 0.13707
}

Semantic roles & 50–950 ramp

primary
#287717
secondary
#993EAC
accent
#3DEACC
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287717

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

Preview Lab → · Contrast checker → · Palette generator →

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