#287C1D#287C1D

#287C1D is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.6% C 0.152 H 141.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#287C1D
RGBrgb(40, 124, 29)
HSLhsl(113, 62%, 30%)
HSVhsv(113, 77%, 49%)
CMYKcmyk(67.7%, 0%, 76.6%, 51.4%)
CIE-LABlab(45.57, -43.53, 41.90)
CIE-LCHlch(45.57, 60.42, 136.09°)
OKLaboklab(51.65% -0.1188 0.0946)
OKLCHoklch(51.65% 0.152 141.5)
XYZxyz(8.3041, 14.9543, 3.6110)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C1D #711D7C
analogous
#577C1D #287C1D #1D7C42
triadic
#287C1D #1D287C #7C1D28
tetradic
#287C1D #1D577C #711D7C #7C421D
square
#287C1D #1D577C #711D7C #7C421D
split-complementary
#287C1D #421D7C #7C1D57
monochromatic
#081906 #184A11 #287C1D #38AE29 #52D341

Accessibility & contrast

On white

5.26
#287C1D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#287C1D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C1D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C1D#FFFFFF#000000##FFFFFF
##287C1D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700A
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#18786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #287c1d;
/* rgb */ color: rgb(40, 124, 29);
/* oklch */ color: oklch(51.6% 0.152 141.5);
Tailwind
colors: {
  custom: {
    50: '#6ea360',
    500: '#287c1d',
    950: '#000000',
  },
}
SCSS
$custom: #287c1d;
$custom-light: #6ea360;
$custom-dark: #000000;
JSON
{
  "hex": "#287c1d",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 29
  },
  "hsl": {
    "h": 113.053,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.15187,
    "h": 141.5
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#287C1D
secondary
#A345B0
accent
#43E5D2
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #287C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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