#287C15#287C15

#287C15 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.156 H 140.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#287C15
RGBrgb(40, 124, 21)
HSLhsl(109, 71%, 28%)
HSVhsv(109, 83%, 49%)
CMYKcmyk(67.7%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.52, -44.10, 44.64)
CIE-LCHlch(45.52, 62.75, 134.65°)
OKLaboklab(51.59% -0.1208 0.0991)
OKLCHoklch(51.59% 0.156 140.6)
XYZxyz(8.2177, 14.9197, 3.1561)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C15 #69157C
analogous
#5B7C15 #287C15 #157C35
triadic
#287C15 #15287C #7C1528
tetradic
#287C15 #155B7C #69157C #7C3515
square
#287C15 #155B7C #69157C #7C3515
split-complementary
#287C15 #35157C #7C155B
monochromatic
#081A04 #17480C #287C15 #39B01E #4FDC30

Accessibility & contrast

On white

5.27
#287C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#287C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C15
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C15#FFFFFF#000000##FFFFFF
##287C151.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#766922
Tritanopia (blue-blind)
#197869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #287c15;
/* rgb */ color: rgb(40, 124, 21);
/* oklch */ color: oklch(51.6% 0.156 140.6);
Tailwind
colors: {
  custom: {
    50: '#6fa35c',
    500: '#287c15',
    950: '#000000',
  },
}
SCSS
$custom: #287c15;
$custom-light: #6fa35c;
$custom-dark: #000000;
JSON
{
  "hex": "#287c15",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 108.932,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.15625,
    "h": 140.6
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#287C15
secondary
#9C3CB1
accent
#3AEECD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #287C15

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

Preview Lab → · Contrast checker → · Palette generator →

#287C15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva