#287220#287220

#287220 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.137 H 141.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#287220
RGBrgb(40, 114, 32)
HSLhsl(114, 56%, 29%)
HSVhsv(114, 72%, 45%)
CMYKcmyk(64.9%, 0%, 71.9%, 55.3%)
CIE-LABlab(42.14, -39.50, 37.14)
CIE-LCHlch(42.14, 54.22, 136.76°)
OKLaboklab(48.81% -0.1077 0.085)
OKLCHoklch(48.81% 0.137 141.7)
XYZxyz(7.1527, 12.5893, 3.4193)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#287220 #6A2072
analogous
#517220 #287220 #207241
triadic
#287220 #202872 #722028
tetradic
#287220 #205172 #6A2072 #724120
square
#287220 #205172 #6A2072 #724120
split-complementary
#287220 #412072 #722051
monochromatic
#081807 #174213 #287220 #39A22D #50CA42

Accessibility & contrast

On white

5.97
#287220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#287220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #287220
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##287220#FFFFFF#000000##FFFFFF
##2872201.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756714
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#1B6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #287220;
/* rgb */ color: rgb(40, 114, 32);
/* oklch */ color: oklch(48.8% 0.137 141.7);
Tailwind
colors: {
  custom: {
    50: '#6c9b60',
    500: '#287220',
    950: '#000000',
  },
}
SCSS
$custom: #287220;
$custom-light: #6c9b60;
$custom-dark: #000000;
JSON
{
  "hex": "#287220",
  "rgb": {
    "r": 40,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 114.146,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4881,
    "c": 0.13725,
    "h": 141.7
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#287220
secondary
#9D48A6
accent
#48DFD1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #287220

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

Preview Lab → · Contrast checker → · Palette generator →

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