#287F19#287F19

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

Color values

HEX#287F19
RGBrgb(40, 127, 25)
HSLhsl(111, 67%, 30%)
HSVhsv(111, 80%, 50%)
CMYKcmyk(68.5%, 0%, 80.3%, 50.2%)
CIE-LABlab(46.58, -44.92, 44.33)
CIE-LCHlch(46.58, 63.11, 135.37°)
OKLaboklab(52.47% -0.1228 0.0991)
OKLCHoklch(52.47% 0.158 141.1)
XYZxyz(8.6395, 15.6992, 3.4945)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287F19 #70197F
analogous
#5B7F19 #287F19 #197F3D
triadic
#287F19 #19287F #7F1928
tetradic
#287F19 #195B7F #70197F #7F3D19
square
#287F19 #195B7F #70197F #7F3D19
split-complementary
#287F19 #3D197F #7F195B
monochromatic
#081A05 #184C0F #287F19 #38B223 #51D83A

Accessibility & contrast

On white

5.07
#287F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#287F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287F19
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287F19#FFFFFF#000000##FFFFFF
##287F191.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#177B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287f19;
/* rgb */ color: rgb(40, 127, 25);
/* oklch */ color: oklch(52.5% 0.158 141.1);
Tailwind
colors: {
  custom: {
    50: '#6fa55e',
    500: '#287f19',
    950: '#000000',
  },
}
SCSS
$custom: #287f19;
$custom-light: #6fa55e;
$custom-dark: #000000;
JSON
{
  "hex": "#287f19",
  "rgb": {
    "r": 40,
    "g": 127,
    "b": 25
  },
  "hsl": {
    "h": 111.176,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5247,
    "c": 0.15776,
    "h": 141.1
  },
  "luminance": 0.157
}

Semantic roles & 50–950 ramp

primary
#287F19
secondary
#A241B3
accent
#3EEAD1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287F19

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

Preview Lab → · Contrast checker → · Palette generator →

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