#287115#287115

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

Color values

HEX#287115
RGBrgb(40, 113, 21)
HSLhsl(108, 69%, 26%)
HSVhsv(108, 81%, 44%)
CMYKcmyk(64.6%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.71, -40.03, 41.02)
CIE-LCHlch(41.71, 57.32, 134.29°)
OKLaboklab(48.43% -0.1098 0.0916)
OKLCHoklch(48.43% 0.143 140.2)
XYZxyz(6.9152, 12.3149, 2.7219)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287115 #5E1571
analogous
#567115 #287115 #157130
triadic
#287115 #152871 #711528
tetradic
#287115 #155671 #5E1571 #713015
square
#287115 #155671 #5E1571 #713015
split-complementary
#287115 #301571 #711556
monochromatic
#091A05 #163D0B #287115 #3AA51F #4DD729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287115#FFFFFF#000000##FFFFFF
##2871151.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)
#746600
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#1D6D60
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #287115;
/* rgb */ color: rgb(40, 113, 21);
/* oklch */ color: oklch(48.4% 0.143 140.2);
Tailwind
colors: {
  custom: {
    50: '#6c9b5a',
    500: '#287115',
    950: '#000000',
  },
}
SCSS
$custom: #287115;
$custom-light: #6c9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#287115",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 107.609,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48434,
    "c": 0.14298,
    "h": 140.2
  },
  "luminance": 0.12316
}

Semantic roles & 50–950 ramp

primary
#287115
secondary
#913BA7
accent
#3CEBC7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79

Preview Lab

Preview with #287115

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

Preview Lab → · Contrast checker → · Palette generator →

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