#287417#287417

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

Color values

HEX#287417
RGBrgb(40, 116, 23)
HSLhsl(109, 67%, 27%)
HSVhsv(109, 80%, 45%)
CMYKcmyk(65.5%, 0%, 80.2%, 54.5%)
CIE-LABlab(42.77, -41.02, 41.34)
CIE-LCHlch(42.77, 58.24, 134.77°)
OKLaboklab(49.31% -0.1124 0.0925)
OKLCHoklch(49.31% 0.146 140.5)
XYZxyz(7.2748, 13.0031, 2.9369)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287417 #631774
analogous
#577417 #287417 #177434
triadic
#287417 #172874 #741728
tetradic
#287417 #175774 #631774 #743417
square
#287417 #175774 #631774 #743417
split-complementary
#287417 #341774 #741757
monochromatic
#091A05 #16410D #287417 #3AA721 #4ED630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287417#FFFFFF#000000##FFFFFF
##2874171.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)
#776902
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#1C7062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #287417;
/* rgb */ color: rgb(40, 116, 23);
/* oklch */ color: oklch(49.3% 0.146 140.5);
Tailwind
colors: {
  custom: {
    50: '#6d9d5c',
    500: '#287417',
    950: '#000000',
  },
}
SCSS
$custom: #287417;
$custom-light: #6d9d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#287417",
  "rgb": {
    "r": 40,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 109.032,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49311,
    "c": 0.14557,
    "h": 140.5
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#287417
secondary
#963DA9
accent
#3EEACA
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287417

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

Preview Lab → · Contrast checker → · Palette generator →

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