#287D24#287D24

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

Color values

HEX#287D24
RGBrgb(40, 125, 36)
HSLhsl(117, 55%, 32%)
HSVhsv(117, 71%, 49%)
CMYKcmyk(68%, 0%, 71.2%, 51%)
CIE-LABlab(45.97, -43.27, 39.47)
CIE-LCHlch(45.97, 58.57, 137.63°)
OKLaboklab(51.99% -0.1177 0.0905)
OKLCHoklch(51.99% 0.148 142.5)
XYZxyz(8.5266, 15.2449, 4.1619)
Luminance0.1525 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287D24 #79247D
analogous
#557D24 #287D24 #247D4D
triadic
#287D24 #24287D #7D2428
tetradic
#287D24 #24557D #79247D #7D4D24
square
#287D24 #24557D #79247D #7D4D24
split-complementary
#287D24 #4D247D #7D2455
monochromatic
#0A1E09 #194D16 #287D24 #37AD32 #55CC4F

Accessibility & contrast

On white

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

On black

4.05
#287D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##287D24#FFFFFF#000000##FFFFFF
##287D241.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807117
Deuteranopia (green-blind)
#766A2C
Tritanopia (blue-blind)
#15796B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #287d24;
/* rgb */ color: rgb(40, 125, 36);
/* oklch */ color: oklch(52.0% 0.148 142.5);
Tailwind
colors: {
  custom: {
    50: '#6ea364',
    500: '#287d24',
    950: '#000000',
  },
}
SCSS
$custom: #287d24;
$custom-light: #6ea364;
$custom-dark: #000000;
JSON
{
  "hex": "#287d24",
  "rgb": {
    "r": 40,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 117.303,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.14846,
    "h": 142.5
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#287D24
secondary
#AB4DAF
accent
#49DFD8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #287D24

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

Preview Lab → · Contrast checker → · Palette generator →

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