#288D39#288D39

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

Color values

HEX#288D39
RGBrgb(40, 141, 57)
HSLhsl(130, 56%, 35%)
HSVhsv(130, 72%, 55%)
CMYKcmyk(71.6%, 0%, 59.6%, 44.7%)
CIE-LABlab(51.60, -46.73, 36.04)
CIE-LCHlch(51.60, 59.01, 142.35°)
OKLaboklab(56.72% -0.1261 0.0854)
OKLCHoklch(56.72% 0.152 145.9)
XYZxyz(11.1377, 19.7951, 7.1040)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D39 #8D287C
analogous
#498D28 #288D39 #288D6B
triadic
#288D39 #39288D #8D3928
tetradic
#288D39 #28498D #8D287C #8D6B28
square
#288D39 #28498D #8D287C #8D6B28
split-complementary
#288D39 #6B288D #8D2849
monochromatic
#0D2E12 #1A5D26 #288D39 #36BD4C #5ED171

Accessibility & contrast

On white

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

On black

4.96
#288D39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D39
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D39#FFFFFF#000000##000000
##288D391.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #288d39;
/* rgb */ color: rgb(40, 141, 57);
/* oklch */ color: oklch(56.7% 0.152 145.9);
Tailwind
colors: {
  custom: {
    50: '#71af72',
    500: '#288d39',
    950: '#000000',
  },
}
SCSS
$custom: #288d39;
$custom-light: #71af72;
$custom-dark: #000000;
JSON
{
  "hex": "#288d39",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 57
  },
  "hsl": {
    "h": 130.099,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.15227,
    "h": 145.9
  },
  "luminance": 0.19796
}

Semantic roles & 50–950 ramp

primary
#288D39
secondary
#B75AA7
accent
#49C6DF
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #288D39

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

Preview Lab → · Contrast checker → · Palette generator →

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