#288E21#288E21

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

Color values

HEX#288E21
RGBrgb(40, 142, 33)
HSLhsl(116, 62%, 34%)
HSVhsv(116, 77%, 56%)
CMYKcmyk(71.8%, 0%, 76.8%, 44.3%)
CIE-LABlab(51.73, -49.60, 46.57)
CIE-LCHlch(51.73, 68.03, 136.81°)
OKLaboklab(56.76% -0.135 0.1049)
OKLCHoklch(56.76% 0.171 142.2)
XYZxyz(10.8220, 19.9057, 4.7104)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E21 #87218E
analogous
#5F8E21 #288E21 #218E51
triadic
#288E21 #21288E #8E2128
tetradic
#288E21 #215F8E #87218E #8E5121
square
#288E21 #215F8E #87218E #8E5121
split-complementary
#288E21 #51218E #8E215F
monochromatic
#0C2B0A #1A5C15 #288E21 #36C02D #5BD752

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E21#FFFFFF#000000##000000
##288E211.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)
#91800A
Deuteranopia (green-blind)
#86782D
Tritanopia (blue-blind)
#0A8A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e21;
/* rgb */ color: rgb(40, 142, 33);
/* oklch */ color: oklch(56.8% 0.171 142.2);
Tailwind
colors: {
  custom: {
    50: '#72b064',
    500: '#288e21',
    950: '#000000',
  },
}
SCSS
$custom: #288e21;
$custom-light: #72b064;
$custom-dark: #000000;
JSON
{
  "hex": "#288e21",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 33
  },
  "hsl": {
    "h": 116.147,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56759,
    "c": 0.17097,
    "h": 142.2
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#288E21
secondary
#B450BA
accent
#42E5DB
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E21

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

Preview Lab → · Contrast checker → · Palette generator →

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