#288D51#288D51

#288D51 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.130 H 152.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#288D51
RGBrgb(40, 141, 81)
HSLhsl(144, 56%, 35%)
HSVhsv(144, 72%, 55%)
CMYKcmyk(71.6%, 0%, 42.6%, 44.7%)
CIE-LABlab(51.94, -42.83, 23.90)
CIE-LCHlch(51.94, 49.05, 150.84°)
OKLaboklab(57.11% -0.1155 0.0592)
OKLCHoklch(57.11% 0.13 152.8)
XYZxyz(11.8841, 20.0936, 11.0351)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#288D51 #8D2864
analogous
#328D28 #288D51 #288D83
triadic
#288D51 #51288D #8D5128
tetradic
#288D51 #28328D #8D2864 #8D8328
square
#288D51 #28328D #8D2864 #8D8328
split-complementary
#288D51 #83288D #8D2832
monochromatic
#0D2E1A #1A5D36 #288D51 #36BD6C #5ED18D

Accessibility & contrast

On white

4.18
#288D51 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#288D51 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #288D51
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##288D51#FFFFFF#000000##000000
##288D511.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814D
Deuteranopia (green-blind)
#817855
Tritanopia (blue-blind)
#008B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #288d51;
/* rgb */ color: rgb(40, 141, 81);
/* oklch */ color: oklch(57.1% 0.130 152.8);
Tailwind
colors: {
  custom: {
    50: '#70af82',
    500: '#288d51',
    950: '#000000',
  },
}
SCSS
$custom: #288d51;
$custom-light: #70af82;
$custom-dark: #000000;
JSON
{
  "hex": "#288d51",
  "rgb": {
    "r": 40,
    "g": 141,
    "b": 81
  },
  "hsl": {
    "h": 144.356,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.12981,
    "h": 152.8
  },
  "luminance": 0.20095
}

Semantic roles & 50–950 ramp

primary
#288D51
secondary
#B75A91
accent
#49A2DF
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #288D51

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

Preview Lab → · Contrast checker → · Palette generator →

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