#287E19#287E19

#287E19 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.157 H 141.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#287E19
RGBrgb(40, 126, 25)
HSLhsl(111, 67%, 30%)
HSVhsv(111, 80%, 49%)
CMYKcmyk(68.3%, 0%, 80.2%, 50.6%)
CIE-LABlab(46.23, -44.56, 44.00)
CIE-LCHlch(46.23, 62.62, 135.36°)
OKLaboklab(52.19% -0.1218 0.0984)
OKLCHoklch(52.19% 0.157 141.1)
XYZxyz(8.5110, 15.4421, 3.4516)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E19 #6F197E
analogous
#5B7E19 #287E19 #197E3D
triadic
#287E19 #19287E #7E1928
tetradic
#287E19 #195B7E #6F197E #7E3D19
square
#287E19 #195B7E #6F197E #7E3D19
split-complementary
#287E19 #3D197E #7E195B
monochromatic
#081A05 #184B0F #287E19 #38B123 #51D83A

Accessibility & contrast

On white

5.14
#287E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#287E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E19
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E19#FFFFFF#000000##FFFFFF
##287E191.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#187A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287e19;
/* rgb */ color: rgb(40, 126, 25);
/* oklch */ color: oklch(52.2% 0.157 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa45e',
    500: '#287e19',
    950: '#000000',
  },
}
SCSS
$custom: #287e19;
$custom-light: #6fa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#287e19",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 111.089,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.15658,
    "h": 141.1
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#287E19
secondary
#A141B2
accent
#3EEAD0
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287E19

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

Preview Lab → · Contrast checker → · Palette generator →

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