#288D36#288D36

#288D36 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.155 H 145.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#288D36
RGBrgb(40, 141, 54)
HSLhsl(128, 56%, 35%)
HSVhsv(128, 72%, 55%)
CMYKcmyk(71.6%, 0%, 61.7%, 44.7%)
CIE-LABlab(51.57, -47.12, 37.46)
CIE-LCHlch(51.57, 60.19, 141.51°)
OKLaboklab(56.68% -0.1273 0.0882)
OKLCHoklch(56.68% 0.155 145.3)
XYZxyz(11.0651, 19.7660, 6.7214)
Luminance0.1977 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D36 #8D287F
analogous
#4C8D28 #288D36 #288D68
triadic
#288D36 #36288D #8D3628
tetradic
#288D36 #284C8D #8D287F #8D6828
square
#288D36 #284C8D #8D287F #8D6828
split-complementary
#288D36 #68288D #8D284C
monochromatic
#0D2E11 #1A5D24 #288D36 #36BD48 #5ED16E

Accessibility & contrast

On white

4.24
#288D36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#288D36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D36
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D36#FFFFFF#000000##000000
##288D361.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802D
Deuteranopia (green-blind)
#83783D
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d36;
/* rgb */ color: rgb(40, 141, 54);
/* oklch */ color: oklch(56.7% 0.155 145.3);
Tailwind
colors: {
  custom: {
    50: '#71af70',
    500: '#288d36',
    950: '#000000',
  },
}
SCSS
$custom: #288d36;
$custom-light: #71af70;
$custom-dark: #000000;
JSON
{
  "hex": "#288d36",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 128.317,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56685,
    "c": 0.15482,
    "h": 145.3
  },
  "luminance": 0.19767
}

Semantic roles & 50–950 ramp

primary
#288D36
secondary
#B75AAA
accent
#49CADF
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #288D36

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

Preview Lab → · Contrast checker → · Palette generator →

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