#288D3C#288D3C

#288D3C is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.150 H 146.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#288D3C
RGBrgb(40, 141, 60)
HSLhsl(132, 56%, 35%)
HSVhsv(132, 72%, 55%)
CMYKcmyk(71.6%, 0%, 57.4%, 44.7%)
CIE-LABlab(51.64, -46.31, 34.60)
CIE-LCHlch(51.64, 57.81, 143.24°)
OKLaboklab(56.76% -0.1249 0.0824)
OKLCHoklch(56.76% 0.15 146.6)
XYZxyz(11.2148, 19.8259, 7.5098)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D3C #8D2879
analogous
#468D28 #288D3C #288D6E
triadic
#288D3C #3C288D #8D3C28
tetradic
#288D3C #28468D #8D2879 #8D6E28
square
#288D3C #28468D #8D2879 #8D6E28
split-complementary
#288D3C #6E288D #8D2846
monochromatic
#0D2E13 #1A5D28 #288D3C #36BD50 #5ED175

Accessibility & contrast

On white

4.23
#288D3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##288D3C#FFFFFF#000000##000000
##288D3C1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8034
Deuteranopia (green-blind)
#837842
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d3c;
/* rgb */ color: rgb(40, 141, 60);
/* oklch */ color: oklch(56.8% 0.150 146.6);
Tailwind
colors: {
  custom: {
    50: '#71af74',
    500: '#288d3c',
    950: '#000000',
  },
}
SCSS
$custom: #288d3c;
$custom-light: #71af74;
$custom-dark: #000000;
JSON
{
  "hex": "#288d3c",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 60
  },
  "hsl": {
    "h": 131.881,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.14965,
    "h": 146.6
  },
  "luminance": 0.19827
}

Semantic roles & 50–950 ramp

primary
#288D3C
secondary
#B75AA4
accent
#49C1DF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #288D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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