#287724#287724

#287724 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.141 H 142.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#287724
RGBrgb(40, 119, 36)
HSLhsl(117, 54%, 30%)
HSVhsv(117, 70%, 47%)
CMYKcmyk(66.4%, 0%, 69.7%, 53.3%)
CIE-LABlab(43.90, -41.02, 37.26)
CIE-LCHlch(43.90, 55.42, 137.75°)
OKLaboklab(50.28% -0.1116 0.0858)
OKLCHoklch(50.28% 0.141 142.5)
XYZxyz(7.7899, 13.7714, 3.9163)
Luminance0.1377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287724 #732477
analogous
#527724 #287724 #247749
triadic
#287724 #242877 #772428
tetradic
#287724 #245277 #732477 #774924
square
#287724 #245277 #732477 #774924
split-complementary
#287724 #492477 #772452
monochromatic
#081908 #184816 #287724 #38A632 #52C94C

Accessibility & contrast

On white

5.59
#287724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#287724 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287724
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287724#FFFFFF#000000##FFFFFF
##2877241.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C19
Deuteranopia (green-blind)
#70652C
Tritanopia (blue-blind)
#187366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287724;
/* rgb */ color: rgb(40, 119, 36);
/* oklch */ color: oklch(50.3% 0.141 142.5);
Tailwind
colors: {
  custom: {
    50: '#6d9f63',
    500: '#287724',
    950: '#000000',
  },
}
SCSS
$custom: #287724;
$custom-light: #6d9f63;
$custom-dark: #000000;
JSON
{
  "hex": "#287724",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 36
  },
  "hsl": {
    "h": 117.108,
    "s": 53.548,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50281,
    "c": 0.14079,
    "h": 142.5
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#287724
secondary
#A54DAA
accent
#4BDDD6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #287724

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

Preview Lab → · Contrast checker → · Palette generator →

#287724 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva