#287617#287617

#287617 is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.148 H 140.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#287617
RGBrgb(40, 118, 23)
HSLhsl(109, 67%, 28%)
HSVhsv(109, 81%, 46%)
CMYKcmyk(66.1%, 0%, 80.5%, 53.7%)
CIE-LABlab(43.46, -41.77, 42.02)
CIE-LCHlch(43.46, 59.24, 134.83°)
OKLaboklab(49.89% -0.1144 0.0939)
OKLCHoklch(49.89% 0.148 140.6)
XYZxyz(7.5078, 13.4691, 3.0146)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287617 #651776
analogous
#587617 #287617 #177635
triadic
#287617 #172876 #761728
tetradic
#287617 #175876 #651776 #763517
square
#287617 #175876 #651776 #763517
split-complementary
#287617 #351776 #761758
monochromatic
#091A05 #17430D #287617 #39A921 #4ED731

Accessibility & contrast

On white

5.68
#287617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#287617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287617
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287617#FFFFFF#000000##FFFFFF
##2876171.005.683.695.68
#FFFFFF5.681.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B01
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#1B7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287617;
/* rgb */ color: rgb(40, 118, 23);
/* oklch */ color: oklch(49.9% 0.148 140.6);
Tailwind
colors: {
  custom: {
    50: '#6d9e5c',
    500: '#287617',
    950: '#000000',
  },
}
SCSS
$custom: #287617;
$custom-light: #6d9e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#287617",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 23
  },
  "hsl": {
    "h": 109.263,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49885,
    "c": 0.14803,
    "h": 140.6
  },
  "luminance": 0.1347
}

Semantic roles & 50–950 ramp

primary
#287617
secondary
#983EAB
accent
#3EEACB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287617

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

Preview Lab → · Contrast checker → · Palette generator →

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