#288E22#288E22

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

Color values

HEX#288E22
RGBrgb(40, 142, 34)
HSLhsl(117, 61%, 35%)
HSVhsv(117, 76%, 56%)
CMYKcmyk(71.8%, 0%, 76.1%, 44.3%)
CIE-LABlab(51.74, -49.52, 46.21)
CIE-LCHlch(51.74, 67.73, 136.98°)
OKLaboklab(56.77% -0.1348 0.1043)
OKLCHoklch(56.77% 0.17 142.3)
XYZxyz(10.8362, 19.9114, 4.7853)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E22 #88228E
analogous
#5E8E22 #288E22 #228E52
triadic
#288E22 #22288E #8E2228
tetradic
#288E22 #225E8E #88228E #8E5222
square
#288E22 #225E8E #88228E #8E5222
split-complementary
#288E22 #52228E #8E225E
monochromatic
#0C2B0A #1A5D16 #288E22 #36BF2E #5BD654

Accessibility & contrast

On white

4.21
#288E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##288E22#FFFFFF#000000##000000
##288E221.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800C
Deuteranopia (green-blind)
#86782E
Tritanopia (blue-blind)
#0A8A79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e22;
/* rgb */ color: rgb(40, 142, 34);
/* oklch */ color: oklch(56.8% 0.170 142.3);
Tailwind
colors: {
  custom: {
    50: '#72b065',
    500: '#288e22',
    950: '#000000',
  },
}
SCSS
$custom: #288e22;
$custom-light: #72b065;
$custom-dark: #000000;
JSON
{
  "hex": "#288e22",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 116.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.17039,
    "h": 142.3
  },
  "luminance": 0.19913
}

Semantic roles & 50–950 ramp

primary
#288E22
secondary
#B452BA
accent
#43E4DC
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #288E22

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

Preview Lab → · Contrast checker → · Palette generator →

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