#287C29#287C29

#287C29 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.143 H 143.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#287C29
RGBrgb(40, 124, 41)
HSLhsl(121, 51%, 32%)
HSVhsv(121, 68%, 49%)
CMYKcmyk(67.7%, 0%, 66.9%, 51.4%)
CIE-LABlab(45.67, -42.37, 36.92)
CIE-LCHlch(45.67, 56.20, 138.93°)
OKLaboklab(51.76% -0.115 0.0857)
OKLCHoklch(51.76% 0.143 143.3)
XYZxyz(8.4825, 15.0257, 4.5506)
Luminance0.1503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287C29 #7C287B
analogous
#517C28 #287C29 #287C53
triadic
#287C29 #29287C #7C2928
tetradic
#287C29 #28517C #7C287B #7C5328
square
#287C29 #28517C #7C287B #7C5328
split-complementary
#287C29 #53287C #7C2851
monochromatic
#0A1F0A #194E1A #287C29 #37AA38 #56C857

Accessibility & contrast

On white

5.24
#287C29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#287C29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287C29
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287C29#FFFFFF#000000##FFFFFF
##287C291.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701F
Deuteranopia (green-blind)
#746930
Tritanopia (blue-blind)
#14786B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #287c29;
/* rgb */ color: rgb(40, 124, 41);
/* oklch */ color: oklch(51.8% 0.143 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ea367',
    500: '#287c29',
    950: '#000000',
  },
}
SCSS
$custom: #287c29;
$custom-light: #6ea367;
$custom-dark: #000000;
JSON
{
  "hex": "#287c29",
  "rgb": {
    "r": 40,
    "g": 124,
    "b": 41
  },
  "hsl": {
    "h": 120.714,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51757,
    "c": 0.14342,
    "h": 143.3
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#287C29
secondary
#AD52AC
accent
#4DD9DB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #287C29

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

Preview Lab → · Contrast checker → · Palette generator →

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