#287C3E#287C3E

#287C3E is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.124 H 148.7°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#287C3E
RGBrgb(40, 124, 62)
HSLhsl(136, 51%, 32%)
HSVhsv(136, 68%, 49%)
CMYKcmyk(67.7%, 0%, 50%, 51.4%)
CIE-LABlab(45.92, -39.43, 26.57)
CIE-LCHlch(45.92, 47.54, 146.03°)
OKLaboklab(52.05% -0.1064 0.0647)
OKLCHoklch(52.05% 0.124 148.7)
XYZxyz(8.9516, 15.2133, 7.0212)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C3E #7C2866
analogous
#3C7C28 #287C3E #287C68
triadic
#287C3E #3E287C #7C3E28
tetradic
#287C3E #283C7C #7C2866 #7C6828
square
#287C3E #283C7C #7C2866 #7C6828
split-complementary
#287C3E #68287C #7C283C
monochromatic
#0A1F10 #194E27 #287C3E #37AA55 #56C874

Accessibility & contrast

On white

5.19
#287C3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#287C3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C3E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C3E#FFFFFF#000000##FFFFFF
##287C3E1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7139
Deuteranopia (green-blind)
#736A42
Tritanopia (blue-blind)
#087A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287c3e;
/* rgb */ color: rgb(40, 124, 62);
/* oklch */ color: oklch(52.1% 0.124 148.7);
Tailwind
colors: {
  custom: {
    50: '#6da374',
    500: '#287c3e',
    950: '#000000',
  },
}
SCSS
$custom: #287c3e;
$custom-light: #6da374;
$custom-dark: #000000;
JSON
{
  "hex": "#287c3e",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 62
  },
  "hsl": {
    "h": 135.714,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.12449,
    "h": 148.7
  },
  "luminance": 0.15214
}

Semantic roles & 50–950 ramp

primary
#287C3E
secondary
#AD5296
accent
#4DB6DB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #287C3E

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

Preview Lab → · Contrast checker → · Palette generator →

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