#288D3D#288D3D

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

Color values

HEX#288D3D
RGBrgb(40, 141, 61)
HSLhsl(132, 56%, 35%)
HSVhsv(132, 72%, 55%)
CMYKcmyk(71.6%, 0%, 56.7%, 44.7%)
CIE-LABlab(51.65, -46.17, 34.11)
CIE-LCHlch(51.65, 57.41, 143.54°)
OKLaboklab(56.78% -0.1245 0.0815)
OKLCHoklch(56.78% 0.149 146.8)
XYZxyz(11.2414, 19.8366, 7.6504)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D3D #8D2878
analogous
#468D28 #288D3D #288D6F
triadic
#288D3D #3D288D #8D3D28
tetradic
#288D3D #28468D #8D2878 #8D6F28
square
#288D3D #28468D #8D2878 #8D6F28
split-complementary
#288D3D #6F288D #8D2846
monochromatic
#0D2E14 #1A5D28 #288D3D #36BD52 #5ED176

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##288D3D#FFFFFF#000000##000000
##288D3D1.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)
#8F8035
Deuteranopia (green-blind)
#837843
Tritanopia (blue-blind)
#008A7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #288d3d;
/* rgb */ color: rgb(40, 141, 61);
/* oklch */ color: oklch(56.8% 0.149 146.8);
Tailwind
colors: {
  custom: {
    50: '#71af75',
    500: '#288d3d',
    950: '#000000',
  },
}
SCSS
$custom: #288d3d;
$custom-light: #71af75;
$custom-dark: #000000;
JSON
{
  "hex": "#288d3d",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 132.475,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56777,
    "c": 0.14876,
    "h": 146.8
  },
  "luminance": 0.19838
}

Semantic roles & 50–950 ramp

primary
#288D3D
secondary
#B75AA3
accent
#49C0DF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #288D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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