#287117#287117

#287117 is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.142 H 140.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#287117
RGBrgb(40, 113, 23)
HSLhsl(109, 66%, 27%)
HSVhsv(109, 80%, 44%)
CMYKcmyk(64.6%, 0%, 79.6%, 55.7%)
CIE-LABlab(41.72, -39.88, 40.33)
CIE-LCHlch(41.72, 56.72, 134.68°)
OKLaboklab(48.45% -0.1093 0.0904)
OKLCHoklch(48.45% 0.142 140.4)
XYZxyz(6.9345, 12.3226, 2.8235)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287117 #601771
analogous
#557117 #287117 #177133
triadic
#287117 #172871 #711728
tetradic
#287117 #175571 #601771 #713317
square
#287117 #175571 #601771 #713317
split-complementary
#287117 #331771 #711755
monochromatic
#091905 #163E0D #287117 #3AA421 #4DD42E

Accessibility & contrast

On white

6.06
#287117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#287117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287117
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287117#FFFFFF#000000##FFFFFF
##2871171.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#1D6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #287117;
/* rgb */ color: rgb(40, 113, 23);
/* oklch */ color: oklch(48.4% 0.142 140.4);
Tailwind
colors: {
  custom: {
    50: '#6c9b5b',
    500: '#287117',
    950: '#000000',
  },
}
SCSS
$custom: #287117;
$custom-light: #6c9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287117",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 108.667,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48447,
    "c": 0.14186,
    "h": 140.4
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#287117
secondary
#933DA7
accent
#3FE9C9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287117

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

Preview Lab → · Contrast checker → · Palette generator →

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