#287A1D#287A1D

#287A1D is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.1% C 0.149 H 141.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#287A1D
RGBrgb(40, 122, 29)
HSLhsl(113, 62%, 30%)
HSVhsv(113, 76%, 48%)
CMYKcmyk(67.2%, 0%, 76.2%, 52.2%)
CIE-LABlab(44.88, -42.79, 41.21)
CIE-LCHlch(44.88, 59.41, 136.08°)
OKLaboklab(51.07% -0.1168 0.0931)
OKLCHoklch(51.07% 0.149 141.4)
XYZxyz(8.0560, 14.4581, 3.5283)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A1D #6F1D7A
analogous
#577A1D #287A1D #1D7A41
triadic
#287A1D #1D287A #7A1D28
tetradic
#287A1D #1D577A #6F1D7A #7A411D
square
#287A1D #1D577A #6F1D7A #7A411D
split-complementary
#287A1D #411D7A #7A1D57
monochromatic
#081906 #184911 #287A1D #38AB29 #51D240

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287A1D#FFFFFF#000000##FFFFFF
##287A1D1.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)
#7D6E0B
Deuteranopia (green-blind)
#736827
Tritanopia (blue-blind)
#197668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #287a1d;
/* rgb */ color: rgb(40, 122, 29);
/* oklch */ color: oklch(51.1% 0.149 141.4);
Tailwind
colors: {
  custom: {
    50: '#6ea160',
    500: '#287a1d',
    950: '#000000',
  },
}
SCSS
$custom: #287a1d;
$custom-light: #6ea160;
$custom-dark: #000000;
JSON
{
  "hex": "#287a1d",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 112.903,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51074,
    "c": 0.14941,
    "h": 141.4
  },
  "luminance": 0.14459
}

Semantic roles & 50–950 ramp

primary
#287A1D
secondary
#A145AE
accent
#43E5D2
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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