#287E2E#287E2E

#287E2E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.142 H 144.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#287E2E
RGBrgb(40, 126, 46)
HSLhsl(124, 52%, 33%)
HSVhsv(124, 68%, 49%)
CMYKcmyk(68.3%, 0%, 63.5%, 50.6%)
CIE-LABlab(46.40, -42.54, 35.39)
CIE-LCHlch(46.40, 55.34, 140.25°)
OKLaboklab(52.38% -0.1152 0.0829)
OKLCHoklch(52.38% 0.142 144.3)
XYZxyz(8.8285, 15.5692, 5.1241)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287E2E #7E2878
analogous
#4D7E28 #287E2E #287E59
triadic
#287E2E #2E287E #7E2E28
tetradic
#287E2E #284D7E #7E2878 #7E5928
square
#287E2E #284D7E #7E2878 #7E5928
split-complementary
#287E2E #59287E #7E284D
monochromatic
#0B210C #19501D #287E2E #37AC3F #57CA5F

Accessibility & contrast

On white

5.10
#287E2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#287E2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287E2E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287E2E#FFFFFF#000000##FFFFFF
##287E2E1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#117B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #287e2e;
/* rgb */ color: rgb(40, 126, 46);
/* oklch */ color: oklch(52.4% 0.142 144.3);
Tailwind
colors: {
  custom: {
    50: '#6ea46a',
    500: '#287e2e',
    950: '#000000',
  },
}
SCSS
$custom: #287e2e;
$custom-light: #6ea46a;
$custom-dark: #000000;
JSON
{
  "hex": "#287e2e",
  "rgb": {
    "r": 40,
    "g": 126,
    "b": 46
  },
  "hsl": {
    "h": 124.186,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52381,
    "c": 0.14197,
    "h": 144.3
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#287E2E
secondary
#AF53A8
accent
#4DD1DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #287E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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