#287C19#287C19

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

Color values

HEX#287C19
RGBrgb(40, 124, 25)
HSLhsl(111, 66%, 29%)
HSVhsv(111, 80%, 49%)
CMYKcmyk(67.7%, 0%, 79.8%, 51.4%)
CIE-LABlab(45.55, -43.83, 43.34)
CIE-LCHlch(45.55, 61.64, 135.33°)
OKLaboklab(51.62% -0.1199 0.097)
OKLCHoklch(51.62% 0.154 141)
XYZxyz(8.2578, 14.9358, 3.3672)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C19 #6D197C
analogous
#5A7C19 #287C19 #197C3C
triadic
#287C19 #19287C #7C1928
tetradic
#287C19 #195A7C #6D197C #7C3C19
square
#287C19 #195A7C #6D197C #7C3C19
split-complementary
#287C19 #3C197C #7C195A
monochromatic
#081905 #18490F #287C19 #38AF23 #50D738

Accessibility & contrast

On white

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

On black

3.99
#287C19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287C19#FFFFFF#000000##FFFFFF
##287C191.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #287c19;
/* rgb */ color: rgb(40, 124, 25);
/* oklch */ color: oklch(51.6% 0.154 141.0);
Tailwind
colors: {
  custom: {
    50: '#6fa35e',
    500: '#287c19',
    950: '#000000',
  },
}
SCSS
$custom: #287c19;
$custom-light: #6fa35e;
$custom-dark: #000000;
JSON
{
  "hex": "#287c19",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 25
  },
  "hsl": {
    "h": 110.909,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51616,
    "c": 0.15419,
    "h": 141
  },
  "luminance": 0.14937
}

Semantic roles & 50–950 ramp

primary
#287C19
secondary
#9F40B0
accent
#3EE9CF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287C19

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

Preview Lab → · Contrast checker → · Palette generator →

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