#287720#287720

#287720 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.144 H 141.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#287720
RGBrgb(40, 119, 32)
HSLhsl(114, 58%, 30%)
HSVhsv(114, 73%, 47%)
CMYKcmyk(66.4%, 0%, 73.1%, 53.3%)
CIE-LABlab(43.87, -41.41, 38.96)
CIE-LCHlch(43.87, 56.86, 136.75°)
OKLaboklab(50.24% -0.1129 0.0889)
OKLCHoklch(50.24% 0.144 141.8)
XYZxyz(7.7322, 13.7483, 3.6124)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287720 #6F2077
analogous
#547720 #287720 #207744
triadic
#287720 #202877 #772028
tetradic
#287720 #205477 #6F2077 #774420
square
#287720 #205477 #6F2077 #774420
split-complementary
#287720 #442077 #772054
monochromatic
#081806 #184713 #287720 #38A72D #51CD45

Accessibility & contrast

On white

5.60
#287720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #287720
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287720#FFFFFF#000000##FFFFFF
##2877201.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C12
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#197366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #287720;
/* rgb */ color: rgb(40, 119, 32);
/* oklch */ color: oklch(50.2% 0.144 141.8);
Tailwind
colors: {
  custom: {
    50: '#6d9f61',
    500: '#287720',
    950: '#000000',
  },
}
SCSS
$custom: #287720;
$custom-light: #6d9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#287720",
  "rgb": {
    "r": 40,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 114.483,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50243,
    "c": 0.14368,
    "h": 141.8
  },
  "luminance": 0.13749
}

Semantic roles & 50–950 ramp

primary
#287720
secondary
#A148AA
accent
#47E1D3
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #287720

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

Preview Lab → · Contrast checker → · Palette generator →

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