#287A3D#287A3D

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

Color values

HEX#287A3D
RGBrgb(40, 122, 61)
HSLhsl(135, 51%, 32%)
HSVhsv(135, 67%, 48%)
CMYKcmyk(67.2%, 0%, 50%, 52.2%)
CIE-LABlab(45.23, -38.79, 26.24)
CIE-LCHlch(45.23, 46.83, 145.93°)
OKLaboklab(51.47% -0.1046 0.0639)
OKLCHoklch(51.47% 0.123 148.6)
XYZxyz(8.6763, 14.7062, 6.7953)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287A3D #7A2865
analogous
#3C7A28 #287A3D #287A66
triadic
#287A3D #3D287A #7A3D28
tetradic
#287A3D #283C7A #7A2865 #7A6628
square
#287A3D #283C7A #7A2865 #7A6628
split-complementary
#287A3D #66287A #7A283C
monochromatic
#0A1E0F #194C26 #287A3D #37A854 #55C772

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##287A3D#FFFFFF#000000##FFFFFF
##287A3D1.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)
#7B6F38
Deuteranopia (green-blind)
#716841
Tritanopia (blue-blind)
#0B786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #287a3d;
/* rgb */ color: rgb(40, 122, 61);
/* oklch */ color: oklch(51.5% 0.123 148.6);
Tailwind
colors: {
  custom: {
    50: '#6ca173',
    500: '#287a3d',
    950: '#000000',
  },
}
SCSS
$custom: #287a3d;
$custom-light: #6ca173;
$custom-dark: #000000;
JSON
{
  "hex": "#287a3d",
  "rgb": {
    "r": 40,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 135.366,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51472,
    "c": 0.12261,
    "h": 148.6
  },
  "luminance": 0.14707
}

Semantic roles & 50–950 ramp

primary
#287A3D
secondary
#AC5295
accent
#4EB6DA
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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