#287628#287628

#287628 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.136 H 143.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#287628
RGBrgb(40, 118, 40)
HSLhsl(120, 49%, 31%)
HSVhsv(120, 66%, 46%)
CMYKcmyk(66.1%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.60, -40.19, 35.09)
CIE-LCHlch(43.60, 53.35, 138.88°)
OKLaboklab(50.04% -0.1092 0.0817)
OKLCHoklch(50.04% 0.136 143.2)
XYZxyz(7.7361, 13.5604, 4.2168)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287628 #762876
analogous
#4F7628 #287628 #28764F
triadic
#287628 #282876 #762828
tetradic
#287628 #284F76 #762876 #764F28
square
#287628 #284F76 #762876 #764F28
split-complementary
#287628 #4F2876 #76284F
monochromatic
#091B09 #194819 #287628 #37A437 #54C554

Accessibility & contrast

On white

5.66
#287628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#287628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287628
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287628#FFFFFF#000000##FFFFFF
##2876281.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#6F642F
Tritanopia (blue-blind)
#187366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287628;
/* rgb */ color: rgb(40, 118, 40);
/* oklch */ color: oklch(50.0% 0.136 143.2);
Tailwind
colors: {
  custom: {
    50: '#6c9e65',
    500: '#287628',
    950: '#000000',
  },
}
SCSS
$custom: #287628;
$custom-light: #6c9e65;
$custom-dark: #000000;
JSON
{
  "hex": "#287628",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50039,
    "c": 0.13632,
    "h": 143.2
  },
  "luminance": 0.13561
}

Semantic roles & 50–950 ramp

primary
#287628
secondary
#A852A8
accent
#4FD9D9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #287628

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

Preview Lab → · Contrast checker → · Palette generator →

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