#287D35#287D35

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

Color values

HEX#287D35
RGBrgb(40, 125, 53)
HSLhsl(129, 52%, 32%)
HSVhsv(129, 68%, 49%)
CMYKcmyk(68%, 0%, 57.6%, 51%)
CIE-LABlab(46.14, -41.23, 31.60)
CIE-LCHlch(46.14, 51.94, 142.54°)
OKLaboklab(52.19% -0.1114 0.0753)
OKLCHoklch(52.19% 0.134 145.9)
XYZxyz(8.8507, 15.3745, 5.8686)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D35 #7D2870
analogous
#467D28 #287D35 #287D5F
triadic
#287D35 #35287D #7D3528
tetradic
#287D35 #28467D #7D2870 #7D5F28
square
#287D35 #28467D #7D2870 #7D5F28
split-complementary
#287D35 #5F287D #7D2846
monochromatic
#0A200E #194F21 #287D35 #37AB49 #56C968

Accessibility & contrast

On white

5.15
#287D35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287D35
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287D35#FFFFFF#000000##FFFFFF
##287D351.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F722E
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#0E7A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d35;
/* rgb */ color: rgb(40, 125, 53);
/* oklch */ color: oklch(52.2% 0.134 145.9);
Tailwind
colors: {
  custom: {
    50: '#6da36e',
    500: '#287d35',
    950: '#000000',
  },
}
SCSS
$custom: #287d35;
$custom-light: #6da36e;
$custom-dark: #000000;
JSON
{
  "hex": "#287d35",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 53
  },
  "hsl": {
    "h": 129.176,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52191,
    "c": 0.13448,
    "h": 145.9
  },
  "luminance": 0.15375
}

Semantic roles & 50–950 ramp

primary
#287D35
secondary
#AE53A0
accent
#4DC5DB
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #287D35

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

Preview Lab → · Contrast checker → · Palette generator →

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