#287C13#287C13

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

Color values

HEX#287C13
RGBrgb(40, 124, 19)
HSLhsl(108, 73%, 28%)
HSVhsv(108, 85%, 49%)
CMYKcmyk(67.7%, 0%, 84.7%, 51.4%)
CIE-LABlab(45.51, -44.21, 45.24)
CIE-LCHlch(45.51, 63.26, 134.35°)
OKLaboklab(51.58% -0.1212 0.1001)
OKLCHoklch(51.58% 0.157 140.5)
XYZxyz(8.1999, 14.9126, 3.0623)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C13 #67137C
analogous
#5C7C13 #287C13 #137C32
triadic
#287C13 #13287C #7C1328
tetradic
#287C13 #135C7C #67137C #7C3213
square
#287C13 #135C7C #67137C #7C3213
split-complementary
#287C13 #32137C #7C135C
monochromatic
#091B04 #17470B #287C13 #39B11B #4FDF2B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287C13#FFFFFF#000000##FFFFFF
##287C131.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)
#807000
Deuteranopia (green-blind)
#766920
Tritanopia (blue-blind)
#197869
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #287c13;
/* rgb */ color: rgb(40, 124, 19);
/* oklch */ color: oklch(51.6% 0.157 140.5);
Tailwind
colors: {
  custom: {
    50: '#6fa35b',
    500: '#287c13',
    950: '#000000',
  },
}
SCSS
$custom: #287c13;
$custom-light: #6fa35b;
$custom-dark: #000000;
JSON
{
  "hex": "#287c13",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 19
  },
  "hsl": {
    "h": 108,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51579,
    "c": 0.15717,
    "h": 140.5
  },
  "luminance": 0.14913
}

Semantic roles & 50–950 ramp

primary
#287C13
secondary
#9A39B2
accent
#38F0CB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #287C13

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

Preview Lab → · Contrast checker → · Palette generator →

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