#287B19#287B19

#287B19 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.3% C 0.153 H 141.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#287B19
RGBrgb(40, 123, 25)
HSLhsl(111, 66%, 29%)
HSVhsv(111, 80%, 48%)
CMYKcmyk(67.5%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.20, -43.47, 43.00)
CIE-LCHlch(45.20, 61.15, 135.31°)
OKLaboklab(51.33% -0.1189 0.0963)
OKLCHoklch(51.33% 0.153 141)
XYZxyz(8.1331, 14.6864, 3.3257)
Luminance0.1469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287B19 #6C197B
analogous
#597B19 #287B19 #197B3B
triadic
#287B19 #19287B #7B1928
tetradic
#287B19 #19597B #6C197B #7B3B19
square
#287B19 #19597B #6C197B #7B3B19
split-complementary
#287B19 #3B197B #7B1959
monochromatic
#081905 #17480F #287B19 #39AE23 #50D738

Accessibility & contrast

On white

5.33
#287B19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#287B19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287B19
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287B19#FFFFFF#000000##FFFFFF
##287B191.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F02
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#197769
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287b19;
/* rgb */ color: rgb(40, 123, 25);
/* oklch */ color: oklch(51.3% 0.153 141.0);
Tailwind
colors: {
  custom: {
    50: '#6ea25e',
    500: '#287b19',
    950: '#000000',
  },
}
SCSS
$custom: #287b19;
$custom-light: #6ea25e;
$custom-dark: #000000;
JSON
{
  "hex": "#287b19",
  "rgb": {
    "r": 40,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 110.816,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.15298,
    "h": 141
  },
  "luminance": 0.14687
}

Semantic roles & 50–950 ramp

primary
#287B19
secondary
#9E40AF
accent
#3FE9CF
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287B19

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

Preview Lab → · Contrast checker → · Palette generator →

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