#287515#287515

#287515 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.148 H 140.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#287515
RGBrgb(40, 117, 21)
HSLhsl(108, 70%, 27%)
HSVhsv(108, 82%, 46%)
CMYKcmyk(65.8%, 0%, 82.1%, 54.1%)
CIE-LABlab(43.10, -41.53, 42.35)
CIE-LCHlch(43.10, 59.32, 134.44°)
OKLaboklab(49.59% -0.1139 0.0943)
OKLCHoklch(49.59% 0.148 140.4)
XYZxyz(7.3714, 13.2271, 2.8739)
Luminance0.1323 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287515 #621575
analogous
#587515 #287515 #157532
triadic
#287515 #152875 #751528
tetradic
#287515 #155875 #621575 #753215
square
#287515 #155875 #621575 #753215
split-complementary
#287515 #321575 #751558
monochromatic
#091A05 #16410C #287515 #3AA91E #4ED92B

Accessibility & contrast

On white

5.76
#287515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#287515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287515
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287515#FFFFFF#000000##FFFFFF
##2875151.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A00
Deuteranopia (green-blind)
#6F6320
Tritanopia (blue-blind)
#1C7163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #287515;
/* rgb */ color: rgb(40, 117, 21);
/* oklch */ color: oklch(49.6% 0.148 140.4);
Tailwind
colors: {
  custom: {
    50: '#6d9e5b',
    500: '#287515',
    950: '#000000',
  },
}
SCSS
$custom: #287515;
$custom-light: #6d9e5b;
$custom-dark: #000000;
JSON
{
  "hex": "#287515",
  "rgb": {
    "r": 40,
    "g": 117,
    "b": 21
  },
  "hsl": {
    "h": 108.125,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49585,
    "c": 0.14787,
    "h": 140.4
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#287515
secondary
#953BAB
accent
#3BECC9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #287515

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

Preview Lab → · Contrast checker → · Palette generator →

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