#287A19#287A19

#287A19 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.0% C 0.152 H 141.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#287A19
RGBrgb(40, 122, 25)
HSLhsl(111, 66%, 29%)
HSVhsv(111, 80%, 48%)
CMYKcmyk(67.2%, 0%, 79.5%, 52.2%)
CIE-LABlab(44.86, -43.10, 42.67)
CIE-LCHlch(44.86, 60.65, 135.29°)
OKLaboklab(51.04% -0.1179 0.0956)
OKLCHoklch(51.04% 0.152 141)
XYZxyz(8.0097, 14.4396, 3.2845)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A19 #6B197A
analogous
#597A19 #287A19 #197A3B
triadic
#287A19 #19287A #7A1928
tetradic
#287A19 #19597A #6B197A #7A3B19
square
#287A19 #19597A #6B197A #7A3B19
split-complementary
#287A19 #3B197A #7A1959
monochromatic
#081905 #17470F #287A19 #39AD23 #50D637

Accessibility & contrast

On white

5.40
#287A19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#287A19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287A19
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287A19#FFFFFF#000000##FFFFFF
##287A191.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#197668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287a19;
/* rgb */ color: rgb(40, 122, 25);
/* oklch */ color: oklch(51.0% 0.152 141.0);
Tailwind
colors: {
  custom: {
    50: '#6ea15e',
    500: '#287a19',
    950: '#000000',
  },
}
SCSS
$custom: #287a19;
$custom-light: #6ea15e;
$custom-dark: #000000;
JSON
{
  "hex": "#287a19",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 25
  },
  "hsl": {
    "h": 110.722,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51045,
    "c": 0.15177,
    "h": 141
  },
  "luminance": 0.1444
}

Semantic roles & 50–950 ramp

primary
#287A19
secondary
#9D40AF
accent
#3FE9CF
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287A19

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

Preview Lab → · Contrast checker → · Palette generator →

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