#287615#287615

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

Color values

HEX#287615
RGBrgb(40, 118, 21)
HSLhsl(108, 70%, 27%)
HSVhsv(108, 82%, 46%)
CMYKcmyk(66.1%, 0%, 82.2%, 53.7%)
CIE-LABlab(43.45, -41.90, 42.68)
CIE-LCHlch(43.45, 59.81, 134.47°)
OKLaboklab(49.87% -0.1149 0.095)
OKLCHoklch(49.87% 0.149 140.4)
XYZxyz(7.4885, 13.4614, 2.9130)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287615 #631576
analogous
#597615 #287615 #157632
triadic
#287615 #152876 #761528
tetradic
#287615 #155976 #631576 #763215
square
#287615 #155976 #631576 #763215
split-complementary
#287615 #321576 #761559
monochromatic
#091A05 #16420C #287615 #3AAA1E #4ED92C

Accessibility & contrast

On white

5.69
#287615 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287615
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287615#FFFFFF#000000##FFFFFF
##2876151.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B00
Deuteranopia (green-blind)
#706420
Tritanopia (blue-blind)
#1C7264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #287615;
/* rgb */ color: rgb(40, 118, 21);
/* oklch */ color: oklch(49.9% 0.149 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d9e5b',
    500: '#287615',
    950: '#000000',
  },
}
SCSS
$custom: #287615;
$custom-light: #6d9e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287615",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 21
  },
  "hsl": {
    "h": 108.247,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49872,
    "c": 0.14908,
    "h": 140.4
  },
  "luminance": 0.13462
}

Semantic roles & 50–950 ramp

primary
#287615
secondary
#963BAC
accent
#3BEDCA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287615

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

Preview Lab → · Contrast checker → · Palette generator →

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