#287E1D#287E1D

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

Color values

HEX#287E1D
RGBrgb(40, 126, 29)
HSLhsl(113, 63%, 30%)
HSVhsv(113, 77%, 49%)
CMYKcmyk(68.3%, 0%, 77%, 50.6%)
CIE-LABlab(46.26, -44.26, 42.59)
CIE-LCHlch(46.26, 61.42, 136.10°)
OKLaboklab(52.21% -0.1208 0.096)
OKLCHoklch(52.21% 0.154 141.5)
XYZxyz(8.5572, 15.4607, 3.6954)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E1D #731D7E
analogous
#587E1D #287E1D #1D7E42
triadic
#287E1D #1D287E #7E1D28
tetradic
#287E1D #1D587E #731D7E #7E421D
square
#287E1D #1D587E #731D7E #7E421D
split-complementary
#287E1D #421D7E #7E1D58
monochromatic
#081B06 #184C12 #287E1D #38B028 #52D342

Accessibility & contrast

On white

5.13
#287E1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287E1D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E1D#FFFFFF#000000##FFFFFF
##287E1D1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817209
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#177A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287e1d;
/* rgb */ color: rgb(40, 126, 29);
/* oklch */ color: oklch(52.2% 0.154 141.5);
Tailwind
colors: {
  custom: {
    50: '#6fa460',
    500: '#287e1d',
    950: '#000000',
  },
}
SCSS
$custom: #287e1d;
$custom-light: #6fa460;
$custom-dark: #000000;
JSON
{
  "hex": "#287e1d",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 113.196,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52214,
    "c": 0.15431,
    "h": 141.5
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#287E1D
secondary
#A545B1
accent
#42E6D3
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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