#288E17#288E17

#288E17 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.176 H 141.3°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#288E17
RGBrgb(40, 142, 23)
HSLhsl(111, 72%, 32%)
HSVhsv(111, 84%, 56%)
CMYKcmyk(71.8%, 0%, 83.8%, 44.3%)
CIE-LABlab(51.68, -50.26, 49.76)
CIE-LCHlch(51.68, 70.73, 135.29°)
OKLaboklab(56.7% -0.1373 0.1101)
OKLCHoklch(56.7% 0.176 141.3)
XYZxyz(10.7021, 19.8578, 4.0794)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288E17 #7D178E
analogous
#638E17 #288E17 #178E42
triadic
#288E17 #17288E #8E1728
tetradic
#288E17 #17638E #7D178E #8E4217
square
#288E17 #17638E #7D178E #8E4217
split-complementary
#288E17 #42178E #8E1763
monochromatic
#0A2506 #19590E #288E17 #37C320 #56E03F

Accessibility & contrast

On white

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

On black

4.97
#288E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288E17
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288E17#FFFFFF#000000##000000
##288E171.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#867826
Tritanopia (blue-blind)
#0E8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288e17;
/* rgb */ color: rgb(40, 142, 23);
/* oklch */ color: oklch(56.7% 0.176 141.3);
Tailwind
colors: {
  custom: {
    50: '#73b060',
    500: '#288e17',
    950: '#000000',
  },
}
SCSS
$custom: #288e17;
$custom-light: #73b060;
$custom-dark: #000000;
JSON
{
  "hex": "#288e17",
  "rgb": {
    "r": 40,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 111.429,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.176,
    "h": 141.3
  },
  "luminance": 0.19859
}

Semantic roles & 50–950 ramp

primary
#288E17
secondary
#AE40C0
accent
#39EFD5
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#091105
muted
#7B8079

Preview Lab

Preview with #288E17

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

Preview Lab → · Contrast checker → · Palette generator →

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