#288E20#288E20

#288E20 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.172 H 142.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#288E20
RGBrgb(40, 142, 32)
HSLhsl(116, 63%, 34%)
HSVhsv(116, 77%, 56%)
CMYKcmyk(71.8%, 0%, 77.5%, 44.3%)
CIE-LABlab(51.72, -49.68, 46.92)
CIE-LCHlch(51.72, 68.33, 136.64°)
OKLaboklab(56.75% -0.1353 0.1055)
OKLCHoklch(56.75% 0.172 142.1)
XYZxyz(10.8082, 19.9002, 4.6377)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E20 #86208E
analogous
#5F8E20 #288E20 #208E4F
triadic
#288E20 #20288E #8E2028
tetradic
#288E20 #205F8E #86208E #8E4F20
square
#288E20 #205F8E #86208E #8E4F20
split-complementary
#288E20 #4F208E #8E205F
monochromatic
#0C2A09 #1A5C15 #288E20 #36C02B #5BD851

Accessibility & contrast

On white

4.22
#288E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#288E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E20
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E20#FFFFFF#000000##000000
##288E201.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918007
Deuteranopia (green-blind)
#86782C
Tritanopia (blue-blind)
#0B8A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e20;
/* rgb */ color: rgb(40, 142, 32);
/* oklch */ color: oklch(56.8% 0.172 142.1);
Tailwind
colors: {
  custom: {
    50: '#72b064',
    500: '#288e20',
    950: '#000000',
  },
}
SCSS
$custom: #288e20;
$custom-light: #72b064;
$custom-dark: #000000;
JSON
{
  "hex": "#288e20",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 115.636,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.17154,
    "h": 142.1
  },
  "luminance": 0.19901
}

Semantic roles & 50–950 ramp

primary
#288E20
secondary
#B34FBB
accent
#42E6DA
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E20

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

Preview Lab → · Contrast checker → · Palette generator →

#288E20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva