#287715#287715

#287715 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.150 H 140.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#287715
RGBrgb(40, 119, 21)
HSLhsl(108, 70%, 27%)
HSVhsv(108, 82%, 47%)
CMYKcmyk(66.4%, 0%, 82.4%, 53.3%)
CIE-LABlab(43.80, -42.27, 43.01)
CIE-LCHlch(43.80, 60.31, 134.50°)
OKLaboklab(50.16% -0.1159 0.0957)
OKLCHoklch(50.16% 0.15 140.4)
XYZxyz(7.6069, 13.6982, 2.9525)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287715 #641577
analogous
#597715 #287715 #157733
triadic
#287715 #152877 #771528
tetradic
#287715 #155977 #641577 #773315
square
#287715 #155977 #641577 #773315
split-complementary
#287715 #331577 #771559
monochromatic
#091A05 #17430C #287715 #39AB1E #4EDA2D

Accessibility & contrast

On white

5.62
#287715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#287715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287715
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287715#FFFFFF#000000##FFFFFF
##2877151.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#1B7365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287715;
/* rgb */ color: rgb(40, 119, 21);
/* oklch */ color: oklch(50.2% 0.150 140.4);
Tailwind
colors: {
  custom: {
    50: '#6e9f5b',
    500: '#287715',
    950: '#000000',
  },
}
SCSS
$custom: #287715;
$custom-light: #6e9f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287715",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 21
  },
  "hsl": {
    "h": 108.367,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50159,
    "c": 0.15028,
    "h": 140.4
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#287715
secondary
#973BAD
accent
#3BEDCA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287715

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

Preview Lab → · Contrast checker → · Palette generator →

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