#287D32#287D32

#287D32 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.1% C 0.137 H 145.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#287D32
RGBrgb(40, 125, 50)
HSLhsl(127, 52%, 32%)
HSVhsv(127, 68%, 49%)
CMYKcmyk(68%, 0%, 60%, 51%)
CIE-LABlab(46.11, -41.64, 33.08)
CIE-LCHlch(46.11, 53.18, 141.54°)
OKLaboklab(52.15% -0.1126 0.0783)
OKLCHoklch(52.15% 0.137 145.2)
XYZxyz(8.7838, 15.3477, 5.5165)
Luminance0.1535 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D32 #7D2873
analogous
#487D28 #287D32 #287D5D
triadic
#287D32 #32287D #7D3228
tetradic
#287D32 #28487D #7D2873 #7D5D28
square
#287D32 #28487D #7D2873 #7D5D28
split-complementary
#287D32 #5D287D #7D2848
monochromatic
#0A200D #194F1F #287D32 #37AB45 #56C964

Accessibility & contrast

On white

5.16
#287D32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#287D32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287D32
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D32#FFFFFF#000000##FFFFFF
##287D321.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722A
Deuteranopia (green-blind)
#756A38
Tritanopia (blue-blind)
#107A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d32;
/* rgb */ color: rgb(40, 125, 50);
/* oklch */ color: oklch(52.1% 0.137 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ea36c',
    500: '#287d32',
    950: '#000000',
  },
}
SCSS
$custom: #287d32;
$custom-light: #6ea36c;
$custom-dark: #000000;
JSON
{
  "hex": "#287d32",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 50
  },
  "hsl": {
    "h": 127.059,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5215,
    "c": 0.13718,
    "h": 145.2
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#287D32
secondary
#AE53A3
accent
#4DCADB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #287D32

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

Preview Lab → · Contrast checker → · Palette generator →

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